Commit 8fac9960 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

msvidc32: Win64 printf format warning fixes.

parent c54a2480
...@@ -4,7 +4,6 @@ SRCDIR = @srcdir@ ...@@ -4,7 +4,6 @@ SRCDIR = @srcdir@
VPATH = @srcdir@ VPATH = @srcdir@
MODULE = msvidc32.dll MODULE = msvidc32.dll
IMPORTS = user32 kernel32 IMPORTS = user32 kernel32
EXTRADEFS = -DWINE_NO_LONG_AS_INT
C_SRCS = \ C_SRCS = \
msvideo1.c msvideo1.c
......
...@@ -311,9 +311,9 @@ CRAM_DecompressQuery( Msvideo1Context *info, LPBITMAPINFO in, LPBITMAPINFO out ) ...@@ -311,9 +311,9 @@ CRAM_DecompressQuery( Msvideo1Context *info, LPBITMAPINFO in, LPBITMAPINFO out )
TRACE("planes = %d\n", in->bmiHeader.biPlanes ); TRACE("planes = %d\n", in->bmiHeader.biPlanes );
TRACE("bpp = %d\n", in->bmiHeader.biBitCount ); TRACE("bpp = %d\n", in->bmiHeader.biBitCount );
TRACE("height = %ld\n", in->bmiHeader.biHeight ); TRACE("height = %d\n", in->bmiHeader.biHeight );
TRACE("width = %ld\n", in->bmiHeader.biWidth ); TRACE("width = %d\n", in->bmiHeader.biWidth );
TRACE("compr = %lx\n", in->bmiHeader.biCompression ); TRACE("compr = %x\n", in->bmiHeader.biCompression );
if( ( in->bmiHeader.biCompression != CRAM_MAGIC ) && if( ( in->bmiHeader.biCompression != CRAM_MAGIC ) &&
( in->bmiHeader.biCompression != MSVC_MAGIC ) && ( in->bmiHeader.biCompression != MSVC_MAGIC ) &&
...@@ -397,7 +397,7 @@ static LRESULT CRAM_Decompress( Msvideo1Context *info, ICDECOMPRESS *icd, DWORD ...@@ -397,7 +397,7 @@ static LRESULT CRAM_Decompress( Msvideo1Context *info, ICDECOMPRESS *icd, DWORD
LONG width, height, stride, sz; LONG width, height, stride, sz;
WORD bit_per_pixel; WORD bit_per_pixel;
TRACE("ICM_DECOMPRESS %p %p %ld\n", info, icd, size); TRACE("ICM_DECOMPRESS %p %p %d\n", info, icd, size);
if( (info==NULL) || (info->dwMagic!=CRAM_MAGIC) ) if( (info==NULL) || (info->dwMagic!=CRAM_MAGIC) )
return ICERR_BADPARAM; return ICERR_BADPARAM;
...@@ -429,7 +429,7 @@ static LRESULT CRAM_DecompressEx( Msvideo1Context *info, ICDECOMPRESSEX *icd, DW ...@@ -429,7 +429,7 @@ static LRESULT CRAM_DecompressEx( Msvideo1Context *info, ICDECOMPRESSEX *icd, DW
LONG width, height, stride, sz; LONG width, height, stride, sz;
WORD bit_per_pixel; WORD bit_per_pixel;
TRACE("ICM_DECOMPRESSEX %p %p %ld\n", info, icd, size); TRACE("ICM_DECOMPRESSEX %p %p %d\n", info, icd, size);
if( (info==NULL) || (info->dwMagic!=CRAM_MAGIC) ) if( (info==NULL) || (info->dwMagic!=CRAM_MAGIC) )
return ICERR_BADPARAM; return ICERR_BADPARAM;
...@@ -582,7 +582,7 @@ LRESULT WINAPI CRAM_DriverProc( DWORD_PTR dwDriverId, HDRVR hdrvr, UINT msg, ...@@ -582,7 +582,7 @@ LRESULT WINAPI CRAM_DriverProc( DWORD_PTR dwDriverId, HDRVR hdrvr, UINT msg,
*/ */
BOOL WINAPI DllMain(HINSTANCE hModule, DWORD dwReason, LPVOID lpReserved) BOOL WINAPI DllMain(HINSTANCE hModule, DWORD dwReason, LPVOID lpReserved)
{ {
TRACE("(%p,%ld,%p)\n", hModule, dwReason, lpReserved); TRACE("(%p,%d,%p)\n", hModule, dwReason, lpReserved);
switch (dwReason) switch (dwReason)
{ {
......
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