mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-02 20:53:47 +00:00
vmm.vxd: Win64 printf format warning fixes.
This commit is contained in:
parent
bb08d0ecf3
commit
3e4fd9bf59
|
@ -4,7 +4,6 @@ SRCDIR = @srcdir@
|
|||
VPATH = @srcdir@
|
||||
MODULE = vmm.vxd
|
||||
IMPORTS = kernel32 ntdll
|
||||
EXTRADEFS = -DWINE_NO_LONG_AS_INT
|
||||
|
||||
C_SRCS = \
|
||||
vmm.c
|
||||
|
|
|
@ -148,7 +148,7 @@ DWORD WINAPI VMM_VxDCall( DWORD service, CONTEXT86 *context )
|
|||
ULONG npages = (ULONG) stack32_pop( context );
|
||||
ULONG flags = (ULONG) stack32_pop( context );
|
||||
|
||||
TRACE("PageReserve: page: %08lx, npages: %08lx, flags: %08lx partial stub!\n",
|
||||
TRACE("PageReserve: page: %08x, npages: %08x, flags: %08x partial stub!\n",
|
||||
page, npages, flags );
|
||||
|
||||
if ( page == PR_SYSTEM ) {
|
||||
|
@ -180,8 +180,8 @@ DWORD WINAPI VMM_VxDCall( DWORD service, CONTEXT86 *context )
|
|||
ULONG pagerdata = (ULONG) stack32_pop( context );
|
||||
ULONG flags = (ULONG) stack32_pop( context );
|
||||
|
||||
TRACE("PageCommit: page: %08lx, npages: %08lx, hpd: %08lx pagerdata: "
|
||||
"%08lx, flags: %08lx partial stub\n",
|
||||
TRACE("PageCommit: page: %08x, npages: %08x, hpd: %08x pagerdata: "
|
||||
"%08x, flags: %08x partial stub\n",
|
||||
page, npages, hpd, pagerdata, flags );
|
||||
|
||||
if ( flags & PC_USER )
|
||||
|
@ -208,7 +208,7 @@ DWORD WINAPI VMM_VxDCall( DWORD service, CONTEXT86 *context )
|
|||
ULONG npages = (ULONG) stack32_pop( context );
|
||||
ULONG flags = (ULONG) stack32_pop( context );
|
||||
|
||||
TRACE("PageDecommit: page: %08lx, npages: %08lx, flags: %08lx partial stub\n",
|
||||
TRACE("PageDecommit: page: %08x, npages: %08x, flags: %08x partial stub\n",
|
||||
page, npages, flags );
|
||||
address = (LPVOID )( page * psize );
|
||||
ret = VirtualFree ( address, ( npages * psize ), MEM_DECOMMIT );
|
||||
|
@ -230,7 +230,7 @@ DWORD WINAPI VMM_VxDCall( DWORD service, CONTEXT86 *context )
|
|||
ULONG permand = stack32_pop ( context );
|
||||
ULONG permor = stack32_pop ( context );
|
||||
|
||||
TRACE("PageModifyPermissions %08lx %08lx %08lx %08lx partial stub\n",
|
||||
TRACE("PageModifyPermissions %08x %08x %08x %08x partial stub\n",
|
||||
page, npages, permand, permor );
|
||||
address = (LPVOID )( page * psize );
|
||||
|
||||
|
@ -271,7 +271,7 @@ DWORD WINAPI VMM_VxDCall( DWORD service, CONTEXT86 *context )
|
|||
ERR("Can't change page permissions for %p\n", address );
|
||||
return 0xffffffff;
|
||||
}
|
||||
TRACE("Returning: %08lx\n", pg_old_perm );
|
||||
TRACE("Returning: %08x\n", pg_old_perm );
|
||||
return pg_old_perm;
|
||||
}
|
||||
|
||||
|
@ -281,7 +281,7 @@ DWORD WINAPI VMM_VxDCall( DWORD service, CONTEXT86 *context )
|
|||
LPVOID hmem = (LPVOID) stack32_pop( context );
|
||||
DWORD flags = (DWORD ) stack32_pop( context );
|
||||
|
||||
TRACE("PageFree: hmem: %p, flags: %08lx partial stub\n",
|
||||
TRACE("PageFree: hmem: %p, flags: %08x partial stub\n",
|
||||
hmem, flags );
|
||||
|
||||
ret = VirtualFree ( hmem, 0, MEM_RELEASE );
|
||||
|
@ -420,7 +420,7 @@ DWORD WINAPI VMM_VxDCall( DWORD service, CONTEXT86 *context )
|
|||
* implementation of this.
|
||||
*/
|
||||
|
||||
FIXME("GetDemandPageInfo(%08lx %08lx): stub!\n", dinfo, flags);
|
||||
FIXME("GetDemandPageInfo(%08x %08x): stub!\n", dinfo, flags);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
@ -469,10 +469,10 @@ DWORD WINAPI VMM_VxDCall( DWORD service, CONTEXT86 *context )
|
|||
|
||||
default:
|
||||
if (LOWORD(service) < N_VMM_SERVICE)
|
||||
FIXME( "Unimplemented service %s (%08lx)\n",
|
||||
FIXME( "Unimplemented service %s (%08x)\n",
|
||||
VMM_Service_Name[LOWORD(service)], service);
|
||||
else
|
||||
FIXME( "Unknown service %08lx\n", service);
|
||||
FIXME( "Unknown service %08x\n", service);
|
||||
return 0xffffffff; /* FIXME */
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue