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

@@ -395,7 +395,7 @@ int Debugger::FormatError(char *buffer, size_t maxLength)
num = (int)*p_cip;
}*/
//New code only requires this...
num = (int)m_pAmx->usertags[UT_NATIVE];
num = (int)(_INT_PTR)m_pAmx->usertags[UT_NATIVE];
amx_err = amx_GetNative(m_pAmx, num, native_name);
/*if (num)
amx_err = amx_GetNative(m_pAmx, (int)*p_cip, native_name);