[PATCH] winedevice: Use 64-bit wide delta when relocating
Dmitry Timoshkov
dmitry at codeweavers.com
Wed Jun 23 09:40:03 CDT 2010
Alessandro Pignotti <a.pignotti at sssup.it> wrote:
> @@ -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;
You need to use SDK types, INT_PTR in this case.
--
Dmitry.
More information about the wine-devel
mailing list