vmm.vxd: Remove unneeded casts.

This commit is contained in:
Andrew Talbot 2008-01-22 21:39:06 +00:00 committed by Alexandre Julliard
parent 9e5f2148a1
commit 29bbc694a0
1 changed files with 14 additions and 14 deletions

View File

@ -142,9 +142,9 @@ DWORD WINAPI VMM_VxDCall( DWORD service, CONTEXT86 *context )
LPVOID address; LPVOID address;
LPVOID ret; LPVOID ret;
DWORD psize = getpagesize(); DWORD psize = getpagesize();
ULONG page = (ULONG) stack32_pop( context ); ULONG page = stack32_pop( context );
ULONG npages = (ULONG) stack32_pop( context ); ULONG npages = stack32_pop( context );
ULONG flags = (ULONG) stack32_pop( context ); ULONG flags = stack32_pop( context );
TRACE("PageReserve: page: %08x, npages: %08x, flags: %08x partial stub!\n", TRACE("PageReserve: page: %08x, npages: %08x, flags: %08x partial stub!\n",
page, npages, flags ); page, npages, flags );
@ -172,11 +172,11 @@ DWORD WINAPI VMM_VxDCall( DWORD service, CONTEXT86 *context )
LPVOID ret; LPVOID ret;
DWORD virt_perm; DWORD virt_perm;
DWORD psize = getpagesize(); DWORD psize = getpagesize();
ULONG page = (ULONG) stack32_pop( context ); ULONG page = stack32_pop( context );
ULONG npages = (ULONG) stack32_pop( context ); ULONG npages = stack32_pop( context );
ULONG hpd = (ULONG) stack32_pop( context ); ULONG hpd = stack32_pop( context );
ULONG pagerdata = (ULONG) stack32_pop( context ); ULONG pagerdata = stack32_pop( context );
ULONG flags = (ULONG) stack32_pop( context ); ULONG flags = stack32_pop( context );
TRACE("PageCommit: page: %08x, npages: %08x, hpd: %08x pagerdata: " TRACE("PageCommit: page: %08x, npages: %08x, hpd: %08x pagerdata: "
"%08x, flags: %08x partial stub\n", "%08x, flags: %08x partial stub\n",
@ -202,9 +202,9 @@ DWORD WINAPI VMM_VxDCall( DWORD service, CONTEXT86 *context )
LPVOID address; LPVOID address;
BOOL ret; BOOL ret;
DWORD psize = getpagesize(); DWORD psize = getpagesize();
ULONG page = (ULONG) stack32_pop( context ); ULONG page = stack32_pop( context );
ULONG npages = (ULONG) stack32_pop( context ); ULONG npages = stack32_pop( context );
ULONG flags = (ULONG) stack32_pop( context ); ULONG flags = stack32_pop( context );
TRACE("PageDecommit: page: %08x, npages: %08x, flags: %08x partial stub\n", TRACE("PageDecommit: page: %08x, npages: %08x, flags: %08x partial stub\n",
page, npages, flags ); page, npages, flags );
@ -277,7 +277,7 @@ DWORD WINAPI VMM_VxDCall( DWORD service, CONTEXT86 *context )
{ {
BOOL ret; BOOL ret;
LPVOID hmem = (LPVOID) stack32_pop( context ); LPVOID hmem = (LPVOID) stack32_pop( context );
DWORD flags = (DWORD ) stack32_pop( context ); DWORD flags = stack32_pop( context );
TRACE("PageFree: hmem: %p, flags: %08x partial stub\n", TRACE("PageFree: hmem: %p, flags: %08x partial stub\n",
hmem, flags ); hmem, flags );
@ -407,8 +407,8 @@ DWORD WINAPI VMM_VxDCall( DWORD service, CONTEXT86 *context )
case 0x001e: /* GetDemandPageInfo */ case 0x001e: /* GetDemandPageInfo */
{ {
DWORD dinfo = (DWORD)stack32_pop( context ); DWORD dinfo = stack32_pop( context );
DWORD flags = (DWORD)stack32_pop( context ); DWORD flags = stack32_pop( context );
/* GetDemandPageInfo is supposed to fill out the struct at /* GetDemandPageInfo is supposed to fill out the struct at
* "dinfo" with various low-level memory management information. * "dinfo" with various low-level memory management information.