Commit a1568206 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

icinfo: Win64 printf format warning fixes.

parent fe23cd26
...@@ -5,7 +5,6 @@ VPATH = @srcdir@ ...@@ -5,7 +5,6 @@ VPATH = @srcdir@
MODULE = icinfo.exe MODULE = icinfo.exe
APPMODE = -mwindows APPMODE = -mwindows
IMPORTS = msvfw32 kernel32 IMPORTS = msvfw32 kernel32
EXTRADEFS = -DWINE_NO_LONG_AS_INT
C_SRCS = icinfo.c C_SRCS = icinfo.c
......
...@@ -53,7 +53,7 @@ int PASCAL WinMain(HINSTANCE hInstance, HINSTANCE prev, LPSTR cmdline, int show) ...@@ -53,7 +53,7 @@ int PASCAL WinMain(HINSTANCE hInstance, HINSTANCE prev, LPSTR cmdline, int show)
memcpy(type,&(ii.fccType),4);type[4]='\0'; memcpy(type,&(ii.fccType),4);type[4]='\0';
memcpy(handler,&(ii.fccHandler),4);handler[4]='\0'; memcpy(handler,&(ii.fccHandler),4);handler[4]='\0';
printf("%s.%s: %s\n",type,handler,buf); 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" "); #define XX(x) if (ii.dwFlags & x) printf(#x" ");
XX(VIDCF_QUALITY); XX(VIDCF_QUALITY);
XX(VIDCF_CRUNCH); XX(VIDCF_CRUNCH);
...@@ -65,8 +65,8 @@ int PASCAL WinMain(HINSTANCE hInstance, HINSTANCE prev, LPSTR cmdline, int show) ...@@ -65,8 +65,8 @@ int PASCAL WinMain(HINSTANCE hInstance, HINSTANCE prev, LPSTR cmdline, int show)
XX(VIDCF_QUALITYTIME); XX(VIDCF_QUALITYTIME);
#undef XX #undef XX
printf(")\n"); printf(")\n");
printf("\tdwVersion: 0x%08lx\n",ii.dwVersion); printf("\tdwVersion: 0x%08x\n",ii.dwVersion);
printf("\tdwVersionICM: 0x%08lx\n",ii.dwVersionICM); printf("\tdwVersionICM: 0x%08x\n",ii.dwVersionICM);
w2s(ii.szDescription,buf); w2s(ii.szDescription,buf);
printf("\tszDescription: %s\n",buf); printf("\tszDescription: %s\n",buf);
if (doabout) ICAbout(hic,0); if (doabout) ICAbout(hic,0);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment