winedevice: Use 64-bit wide delta when relocating.

This commit is contained in:
Alessandro Pignotti 2010-06-23 13:51:46 +02:00 committed by Alexandre Julliard
parent f3a1e2cf00
commit 58f36e863e
1 changed files with 2 additions and 1 deletions

View File

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