Skip to content

Commit 13566df

Browse files
author
Y_Less
committed
Update the fix for the latest pawn version.
1 parent d5a3fc9 commit 13566df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Server/Components/Pawn/Script/Script.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ int AMXAPI amx_RegisterChecked(AMX* amx, const AMX_NATIVE_INFO* list, int number
342342
{
343343
/* this function is not yet located */
344344
if (funcptr != NULL)
345-
((AMX_FUNCWIDE*)func)->address = funcptr;
345+
((AMX_FUNCWIDE*)func)->address = (uintptr_t)funcptr;
346346
else
347347
err = AMX_ERR_NOTFOUND;
348348
}

0 commit comments

Comments
 (0)