Fix 64bit compilation issues.

svn path=/trunk/; revision=42241
This commit is contained in:
Timo Kreuzer 2009-07-26 22:34:03 +00:00
parent 7e526ac7de
commit 3f10e1dc73

View file

@ -48,7 +48,7 @@ __delayLoadHelper2(PCImgDelayDescr pidd, PImgThunkData pIATEntry)
pProc = __pfnDliNotifyHook2(dliStartProcessing, &dli); pProc = __pfnDliNotifyHook2(dliStartProcessing, &dli);
if (pProc) if (pProc)
{ {
pIAT[index].u1.Function = (DWORD)pProc; pIAT[index].u1.Function = (DWORD_PTR)pProc;
return pProc; return pProc;
} }
@ -77,7 +77,7 @@ __delayLoadHelper2(PCImgDelayDescr pidd, PImgThunkData pIATEntry)
// FIXME: handle return value & raise exception // FIXME: handle return value & raise exception
return NULL; return NULL;
} }
pIAT[index].u1.Function = (DWORD)pProc; pIAT[index].u1.Function = (DWORD_PTR)pProc;
return pProc; return pProc;
} }