[NTDLL]
authorTimo Kreuzer <timo.kreuzer@reactos.org>
Mon, 16 Aug 2010 01:57:09 +0000 (01:57 +0000)
committerTimo Kreuzer <timo.kreuzer@reactos.org>
Mon, 16 Aug 2010 01:57:09 +0000 (01:57 +0000)
LdrPerformRelocations: Delta is a LONG_PTR rather than ULONG_PTR

See issue #5577 for more details.

svn path=/trunk/; revision=48556

reactos/dll/ntdll/ldr/utils.c

index 1451219..e4b1a61 100644 (file)
@@ -1388,7 +1388,7 @@ LdrPerformRelocations(PIMAGE_NT_HEADERS NTHeaders,
   ULONG Count, ProtectSize, OldProtect, OldProtect2;
   PVOID Page, ProtectPage, ProtectPage2;
   PUSHORT TypeOffset;
-  ULONG_PTR Delta;
+  LONG_PTR Delta;
   NTSTATUS Status;
 
   if (NTHeaders->FileHeader.Characteristics & IMAGE_FILE_RELOCS_STRIPPED)