diff --git a/dlls/ntdll/loader.c b/dlls/ntdll/loader.c index 560a932..e276d21 100644 --- a/dlls/ntdll/loader.c +++ b/dlls/ntdll/loader.c @@ -2105,7 +2105,9 @@ IMAGE_BASE_RELOCATION * WINAPI LdrProcessRelocationBlock( void *page, UINT count { while (count--) { +#if defined (__i386__) || defined (__x86_64__) USHORT offset = *relocs & 0xfff; +#endif int type = *relocs >> 12; switch(type) {