Fix 32bit import timestamp
@@ -28,7 +28,7 @@ FORCEINLINE
PVOID PhpImportProcedure(
_Inout_ PPH_INITONCE InitOnce,
_Inout_ PVOID *Cache,
- _Inout_ PULONG64 Cookie,
+ _Inout_ PULONG_PTR Cookie,
_In_ PWSTR ModuleName,
_In_ PSTR ProcedureName
)
@@ -70,7 +70,7 @@ _##Name Name##_Import(VOID) \
{ \
static PH_INITONCE initOnce = PH_INITONCE_INIT; \
static PVOID cache = NULL; \
- static ULONG64 cookie = 0; \
+ static ULONG_PTR cookie = 0; \
\
return (_##Name)PhpImportProcedure(&initOnce, &cache, &cookie, Module, #Name); \
}
