Hi Everyone,
when using Wine64 relocations should use 64-bit wide deltas, winedevice was not compliant with this. Patch follows
Regards, 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..1b5b87a 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; + intptr_t delta; ULONG size; HMODULE module = LoadLibraryW( name );