Commit 1699c3a5 authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

vwin32.vxd: Enable compilation with long types.

parent 3c4b6653
EXTRADEFS = -DWINE_NO_LONG_TYPES
MODULE = vwin32.vxd MODULE = vwin32.vxd
IMPORTS = kernel IMPORTS = kernel
......
...@@ -123,8 +123,8 @@ BOOL WINAPI VWIN32_DeviceIoControl(DWORD dwIoControlCode, ...@@ -123,8 +123,8 @@ BOOL WINAPI VWIN32_DeviceIoControl(DWORD dwIoControlCode,
BYTE intnum = 0; BYTE intnum = 0;
TRACE( "Control '%s': " TRACE( "Control '%s': "
"eax=0x%08x, ebx=0x%08x, ecx=0x%08x, " "eax=0x%08lx, ebx=0x%08lx, ecx=0x%08lx, "
"edx=0x%08x, esi=0x%08x, edi=0x%08x\n", "edx=0x%08lx, esi=0x%08lx, edi=0x%08lx\n",
(dwIoControlCode == VWIN32_DIOC_DOS_IOCTL)? "VWIN32_DIOC_DOS_IOCTL" : (dwIoControlCode == VWIN32_DIOC_DOS_IOCTL)? "VWIN32_DIOC_DOS_IOCTL" :
(dwIoControlCode == VWIN32_DIOC_DOS_INT25)? "VWIN32_DIOC_DOS_INT25" : (dwIoControlCode == VWIN32_DIOC_DOS_INT25)? "VWIN32_DIOC_DOS_INT25" :
(dwIoControlCode == VWIN32_DIOC_DOS_INT26)? "VWIN32_DIOC_DOS_INT26" : (dwIoControlCode == VWIN32_DIOC_DOS_INT26)? "VWIN32_DIOC_DOS_INT26" :
...@@ -165,7 +165,7 @@ BOOL WINAPI VWIN32_DeviceIoControl(DWORD dwIoControlCode, ...@@ -165,7 +165,7 @@ BOOL WINAPI VWIN32_DeviceIoControl(DWORD dwIoControlCode,
return FALSE; return FALSE;
default: default:
FIXME( "Unknown Control %d\n", dwIoControlCode); FIXME( "Unknown Control %ld\n", dwIoControlCode);
return FALSE; return FALSE;
} }
} }
...@@ -191,7 +191,7 @@ DWORD WINAPI VWIN32_VxDCall( DWORD service, CONTEXT *context ) ...@@ -191,7 +191,7 @@ DWORD WINAPI VWIN32_VxDCall( DWORD service, CONTEXT *context )
{ {
DWORD parm = stack32_pop(context); DWORD parm = stack32_pop(context);
FIXME("Get VMCPD Version(%08x): partial stub!\n", parm); FIXME("Get VMCPD Version(%08lx): partial stub!\n", parm);
/* FIXME: This is what Win98 returns, it may /* FIXME: This is what Win98 returns, it may
* not be correct in all situations. * not be correct in all situations.
...@@ -204,7 +204,7 @@ DWORD WINAPI VWIN32_VxDCall( DWORD service, CONTEXT *context ) ...@@ -204,7 +204,7 @@ DWORD WINAPI VWIN32_VxDCall( DWORD service, CONTEXT *context )
DWORD callnum = stack32_pop(context); DWORD callnum = stack32_pop(context);
DWORD parm = stack32_pop(context); DWORD parm = stack32_pop(context);
TRACE("Int31/DPMI dispatch(%08x)\n", callnum); TRACE("Int31/DPMI dispatch(%08lx)\n", callnum);
context->Eax = callnum; context->Eax = callnum;
context->Ecx = parm; context->Ecx = parm;
...@@ -217,7 +217,7 @@ DWORD WINAPI VWIN32_VxDCall( DWORD service, CONTEXT *context ) ...@@ -217,7 +217,7 @@ DWORD WINAPI VWIN32_VxDCall( DWORD service, CONTEXT *context )
return callnum; /* FIXME: should really call INT_Int41Handler() */ return callnum; /* FIXME: should really call INT_Int41Handler() */
} }
default: default:
FIXME("Unknown service %08x\n", service); FIXME("Unknown service %08lx\n", service);
return 0xffffffff; return 0xffffffff;
} }
} }
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