Andrew Talbot : vmm.vxd: Remove unneeded casts.
Alexandre Julliard
julliard at winehq.org
Wed Jan 23 05:25:04 CST 2008
Module: wine
Branch: master
Commit: 29bbc694a0abb36ede31d827c7618a4b6e8724ca
URL: http://source.winehq.org/git/wine.git/?a=commit;h=29bbc694a0abb36ede31d827c7618a4b6e8724ca
Author: Andrew Talbot <andrew.talbot at talbotville.com>
Date: Tue Jan 22 21:39:06 2008 +0000
vmm.vxd: Remove unneeded casts.
---
dlls/vmm.vxd/vmm.c | 28 ++++++++++++++--------------
1 files changed, 14 insertions(+), 14 deletions(-)
diff --git a/dlls/vmm.vxd/vmm.c b/dlls/vmm.vxd/vmm.c
index f7a5478..2887a2d 100644
--- a/dlls/vmm.vxd/vmm.c
+++ b/dlls/vmm.vxd/vmm.c
@@ -142,9 +142,9 @@ DWORD WINAPI VMM_VxDCall( DWORD service, CONTEXT86 *context )
LPVOID address;
LPVOID ret;
DWORD psize = getpagesize();
- ULONG page = (ULONG) stack32_pop( context );
- ULONG npages = (ULONG) stack32_pop( context );
- ULONG flags = (ULONG) stack32_pop( context );
+ ULONG page = stack32_pop( context );
+ ULONG npages = stack32_pop( context );
+ ULONG flags = stack32_pop( context );
TRACE("PageReserve: page: %08x, npages: %08x, flags: %08x partial stub!\n",
page, npages, flags );
@@ -172,11 +172,11 @@ DWORD WINAPI VMM_VxDCall( DWORD service, CONTEXT86 *context )
LPVOID ret;
DWORD virt_perm;
DWORD psize = getpagesize();
- ULONG page = (ULONG) stack32_pop( context );
- ULONG npages = (ULONG) stack32_pop( context );
- ULONG hpd = (ULONG) stack32_pop( context );
- ULONG pagerdata = (ULONG) stack32_pop( context );
- ULONG flags = (ULONG) stack32_pop( context );
+ ULONG page = stack32_pop( context );
+ ULONG npages = stack32_pop( context );
+ ULONG hpd = stack32_pop( context );
+ ULONG pagerdata = stack32_pop( context );
+ ULONG flags = stack32_pop( context );
TRACE("PageCommit: page: %08x, npages: %08x, hpd: %08x pagerdata: "
"%08x, flags: %08x partial stub\n",
@@ -202,9 +202,9 @@ DWORD WINAPI VMM_VxDCall( DWORD service, CONTEXT86 *context )
LPVOID address;
BOOL ret;
DWORD psize = getpagesize();
- ULONG page = (ULONG) stack32_pop( context );
- ULONG npages = (ULONG) stack32_pop( context );
- ULONG flags = (ULONG) stack32_pop( context );
+ ULONG page = stack32_pop( context );
+ ULONG npages = stack32_pop( context );
+ ULONG flags = stack32_pop( context );
TRACE("PageDecommit: page: %08x, npages: %08x, flags: %08x partial stub\n",
page, npages, flags );
@@ -277,7 +277,7 @@ DWORD WINAPI VMM_VxDCall( DWORD service, CONTEXT86 *context )
{
BOOL ret;
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",
hmem, flags );
@@ -407,8 +407,8 @@ DWORD WINAPI VMM_VxDCall( DWORD service, CONTEXT86 *context )
case 0x001e: /* GetDemandPageInfo */
{
- DWORD dinfo = (DWORD)stack32_pop( context );
- DWORD flags = (DWORD)stack32_pop( context );
+ DWORD dinfo = stack32_pop( context );
+ DWORD flags = stack32_pop( context );
/* GetDemandPageInfo is supposed to fill out the struct at
* "dinfo" with various low-level memory management information.
More information about the wine-cvs
mailing list