Fix some pointer casts.
Modified: trunk/reactos/ntoskrnl/ldr/loader.c
_____
Modified: trunk/reactos/ntoskrnl/ldr/loader.c
--- trunk/reactos/ntoskrnl/ldr/loader.c 2005-08-02 13:52:10 UTC (rev
16968)
+++ trunk/reactos/ntoskrnl/ldr/loader.c 2005-08-02 13:53:52 UTC (rev
16969)
@@ -1375,8 +1375,8 @@
? RVA(BaseAddress, ExFunctions[Ordinal - ExportDir->Base] )
: NULL;
- if (((ULONG)Function >= (ULONG)ExportDir) &&
- ((ULONG)Function < (ULONG)ExportDir + (ULONG)ExportDirSize))
+ if (((ULONG_PTR)Function >= (ULONG_PTR)ExportDir) &&
+ ((ULONG_PTR)Function < (ULONG_PTR)ExportDir + ExportDirSize))
{
DPRINT("Forward: %s\n", (PCHAR)Function);
Function = LdrPEFixupForward((PCHAR)Function);
Show replies by date