Alessandro Pignotti : winedevice: Use 64-bit wide delta when relocating.

Alexandre Julliard julliard at winehq.org
Wed Jun 23 10:57:07 CDT 2010


Module: wine
Branch: master
Commit: 58f36e863e9d4efe08b620557d2ea93109380cf4
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=58f36e863e9d4efe08b620557d2ea93109380cf4

Author: Alessandro Pignotti <a.pignotti at sssup.it>
Date:   Wed Jun 23 13:51:46 2010 +0200

winedevice: Use 64-bit wide delta when relocating.

---

 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 );
 




More information about the wine-cvs mailing list