mirror of
https://github.com/vxcontrol/MemoryModule.git
synced 2026-07-21 06:05:55 -04:00
fixed casting bug on some compilers (reported by John S. Brumbelow)
This commit is contained in:
+1
-1
@@ -203,7 +203,7 @@ PerformBaseRelocation(PMEMORYMODULE module, DWORD delta)
|
||||
}
|
||||
|
||||
// advance to next relocation block
|
||||
(char *)relocation += relocation->SizeOfBlock;
|
||||
relocation = (PIMAGE_BASE_RELOCATION)(((DWORD)relocation) + relocation->SizeOfBlock);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user