Module: wine Branch: master Commit: 2c59a95122eb4f0841987f33dd915d3a120d6d01 URL: http://source.winehq.org/git/wine.git/?a=commit;h=2c59a95122eb4f0841987f33dd...
Author: Dmitry Timoshkov dmitry@codeweavers.com Date: Mon May 21 15:56:07 2007 +0900
winebuild: Fix compilation warnings in 64-bit mode.
---
tools/winebuild/res16.c | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/tools/winebuild/res16.c b/tools/winebuild/res16.c index 35ac597..8648190 100644 --- a/tools/winebuild/res16.c +++ b/tools/winebuild/res16.c @@ -293,10 +293,11 @@ void output_res16_directory( DLLSPEC *spec, const char *header_name )
for (j = 0, res = type->res; j < type->nb_names; j++, res++) { - output( "\t%s .L__wine_spec_resource_%u-%s\n", - get_asm_short_keyword(), res - spec->resources, header_name ); - output( "\t%s .L__wine_spec_resource_%u_end-.L__wine_spec_resource_%u\n", - get_asm_short_keyword(), res - spec->resources, res - spec->resources ); + output( "\t%s .L__wine_spec_resource_%lu-%s\n", + get_asm_short_keyword(), (unsigned long)(res - spec->resources), header_name ); + output( "\t%s .L__wine_spec_resource_%lu_end-.L__wine_spec_resource_%lu\n", + get_asm_short_keyword(), (unsigned long)(res - spec->resources), + (unsigned long)(res - spec->resources) ); output( "\t%s 0x%04x\n", get_asm_short_keyword(), res->memopt ); if (res->name.str) output( "\t%s .L__wine_spec_resname_%u_%u-.L__wine_spec_ne_rsrctab\n",