fixed casting bug on some compilers (reported by John S. Brumbelow)

This commit is contained in:
Joachim Bauch
2005-03-01 20:10:11 +00:00
parent e952dd3cfa
commit b2e7e1e546
+1 -1
View File
@@ -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);
}
}
}