Module: wine Branch: master Commit: a156820609779ee701060f39db92fd52dae32c02 URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=a156820609779ee701060f39...
Author: Michael Stefaniuc mstefani@redhat.de Date: Mon Oct 2 23:21:36 2006 +0200
icinfo: Win64 printf format warning fixes.
---
programs/icinfo/Makefile.in | 1 - programs/icinfo/icinfo.c | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/programs/icinfo/Makefile.in b/programs/icinfo/Makefile.in index c4409fd..01c7701 100644 --- a/programs/icinfo/Makefile.in +++ b/programs/icinfo/Makefile.in @@ -5,7 +5,6 @@ VPATH = @srcdir@ MODULE = icinfo.exe APPMODE = -mwindows IMPORTS = msvfw32 kernel32 -EXTRADEFS = -DWINE_NO_LONG_AS_INT
C_SRCS = icinfo.c
diff --git a/programs/icinfo/icinfo.c b/programs/icinfo/icinfo.c index 96240e2..3b882ac 100644 --- a/programs/icinfo/icinfo.c +++ b/programs/icinfo/icinfo.c @@ -53,7 +53,7 @@ #define w2s(w,s) WideCharToMultiByte(0,0 memcpy(type,&(ii.fccType),4);type[4]='\0'; memcpy(handler,&(ii.fccHandler),4);handler[4]='\0'; printf("%s.%s: %s\n",type,handler,buf); - printf("\tdwFlags: 0x%08lx (",ii.dwFlags); + printf("\tdwFlags: 0x%08x (",ii.dwFlags); #define XX(x) if (ii.dwFlags & x) printf(#x" "); XX(VIDCF_QUALITY); XX(VIDCF_CRUNCH); @@ -65,8 +65,8 @@ #define XX(x) if (ii.dwFlags & x) printf XX(VIDCF_QUALITYTIME); #undef XX printf(")\n"); - printf("\tdwVersion: 0x%08lx\n",ii.dwVersion); - printf("\tdwVersionICM: 0x%08lx\n",ii.dwVersionICM); + printf("\tdwVersion: 0x%08x\n",ii.dwVersion); + printf("\tdwVersionICM: 0x%08x\n",ii.dwVersionICM); w2s(ii.szDescription,buf); printf("\tszDescription: %s\n",buf); if (doabout) ICAbout(hic,0);