vwin32.vxd: Enable compilation with long types.

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Eric Pouech 2022-02-21 07:59:19 +01:00 committed by Alexandre Julliard
parent 3c4b6653ba
commit 1699c3a534
2 changed files with 6 additions and 7 deletions

View File

@ -1,4 +1,3 @@
EXTRADEFS = -DWINE_NO_LONG_TYPES
MODULE = vwin32.vxd
IMPORTS = kernel

View File

@ -123,8 +123,8 @@ BOOL WINAPI VWIN32_DeviceIoControl(DWORD dwIoControlCode,
BYTE intnum = 0;
TRACE( "Control '%s': "
"eax=0x%08x, ebx=0x%08x, ecx=0x%08x, "
"edx=0x%08x, esi=0x%08x, edi=0x%08x\n",
"eax=0x%08lx, ebx=0x%08lx, ecx=0x%08lx, "
"edx=0x%08lx, esi=0x%08lx, edi=0x%08lx\n",
(dwIoControlCode == VWIN32_DIOC_DOS_IOCTL)? "VWIN32_DIOC_DOS_IOCTL" :
(dwIoControlCode == VWIN32_DIOC_DOS_INT25)? "VWIN32_DIOC_DOS_INT25" :
(dwIoControlCode == VWIN32_DIOC_DOS_INT26)? "VWIN32_DIOC_DOS_INT26" :
@ -165,7 +165,7 @@ BOOL WINAPI VWIN32_DeviceIoControl(DWORD dwIoControlCode,
return FALSE;
default:
FIXME( "Unknown Control %d\n", dwIoControlCode);
FIXME( "Unknown Control %ld\n", dwIoControlCode);
return FALSE;
}
}
@ -191,7 +191,7 @@ DWORD WINAPI VWIN32_VxDCall( DWORD service, CONTEXT *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
* not be correct in all situations.
@ -204,7 +204,7 @@ DWORD WINAPI VWIN32_VxDCall( DWORD service, CONTEXT *context )
DWORD callnum = 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->Ecx = parm;
@ -217,7 +217,7 @@ DWORD WINAPI VWIN32_VxDCall( DWORD service, CONTEXT *context )
return callnum; /* FIXME: should really call INT_Int41Handler() */
}
default:
FIXME("Unknown service %08x\n", service);
FIXME("Unknown service %08lx\n", service);
return 0xffffffff;
}
}