Skip to content

Commit df4a99e

Browse files
committed
Fix 32bit import timestamp
1 parent df55ef8 commit df4a99e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

phlib/apiimport.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ FORCEINLINE
2828
PVOID PhpImportProcedure(
2929
_Inout_ PPH_INITONCE InitOnce,
3030
_Inout_ PVOID *Cache,
31-
_Inout_ PULONG64 Cookie,
31+
_Inout_ PULONG_PTR Cookie,
3232
_In_ PWSTR ModuleName,
3333
_In_ PSTR ProcedureName
3434
)
@@ -70,7 +70,7 @@ _##Name Name##_Import(VOID) \
7070
{ \
7171
static PH_INITONCE initOnce = PH_INITONCE_INIT; \
7272
static PVOID cache = NULL; \
73-
static ULONG64 cookie = 0; \
73+
static ULONG_PTR cookie = 0; \
7474
\
7575
return (_##Name)PhpImportProcedure(&initOnce, &cache, &cookie, Module, #Name); \
7676
}

0 commit comments

Comments
 (0)