icinfo: Win64 printf format warning fixes.
Michael Stefaniuc
mstefani at redhat.de
Mon Oct 2 16:21:36 CDT 2006
---
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);
--
1.4.2.1
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20061002/77e0bae9/attachment.pgp
More information about the wine-patches
mailing list