From 3e4fd9bf5956bd9f1c7f45ecacdcc37838f2f194 Mon Sep 17 00:00:00 2001 From: Michael Stefaniuc Date: Sun, 8 Oct 2006 18:59:42 +0200 Subject: [PATCH] vmm.vxd: Win64 printf format warning fixes. --- dlls/vmm.vxd/Makefile.in | 1 - dlls/vmm.vxd/vmm.c | 20 ++++++++++---------- 2 files changed, 10 insertions(+), 11 deletions(-) diff --git a/dlls/vmm.vxd/Makefile.in b/dlls/vmm.vxd/Makefile.in index 854852f24fa..eaacf3fa738 100644 --- a/dlls/vmm.vxd/Makefile.in +++ b/dlls/vmm.vxd/Makefile.in @@ -4,7 +4,6 @@ SRCDIR = @srcdir@ VPATH = @srcdir@ MODULE = vmm.vxd IMPORTS = kernel32 ntdll -EXTRADEFS = -DWINE_NO_LONG_AS_INT C_SRCS = \ vmm.c diff --git a/dlls/vmm.vxd/vmm.c b/dlls/vmm.vxd/vmm.c index 85ca9ad9786..24de4d75350 100644 --- a/dlls/vmm.vxd/vmm.c +++ b/dlls/vmm.vxd/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 */ } }