committed patch for correct typecasting

This commit is contained in:
David Anderson
2006-02-26 05:03:05 +00:00
parent bf8cf574e0
commit a43a3b0803
3 changed files with 13 additions and 2 deletions

View File

@ -288,7 +288,7 @@ static cell AMX_NATIVE_CALL invalid_native(AMX *amx, cell *params)
}
char name[sNAMEMAX + 1];
int native = (int)(amx->usertags[UT_NATIVE]);
int native = (int)(_INT_PTR)(amx->usertags[UT_NATIVE]);
int err = amx_GetNative(amx, native, name);
if (err != AMX_ERR_NONE)