[PATCH] [TRY2] winedevice: Use 64-bit wide delta when relocating
Alessandro Pignotti
a.pignotti at sssup.it
Wed Jun 23 17:54:52 CDT 2010
Using INT_PTR instead of intptr_t
Alessandro Pignotti
---
programs/winedevice/device.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/programs/winedevice/device.c b/programs/winedevice/device.c
index e0cd07b..2ce8c15 100644
--- a/programs/winedevice/device.c
+++ b/programs/winedevice/device.c
@@ -67,7 +67,8 @@ static HMODULE load_driver_module( const WCHAR *name )
IMAGE_NT_HEADERS *nt;
const IMAGE_IMPORT_DESCRIPTOR *imports;
size_t page_size = getpagesize();
- int i, delta;
+ int i;
+ INT_PTR delta;
ULONG size;
HMODULE module = LoadLibraryW( name );
--
1.7.1
More information about the wine-patches
mailing list