Fixed warnings that only appeared when compiling amd64 binaries

This commit is contained in:
Scott Ehlert
2006-08-27 04:50:20 +00:00
parent 22bef17660
commit 709b3705ab
5 changed files with 547 additions and 549 deletions

View File

@ -22,9 +22,9 @@
*/
#define AMX_NODYNALOAD
#define AMX_ANSIONLY
#define AMX_ANSIONLY
#if BUILD_PLATFORM == WINDOWS && BUILD_TYPE == RELEASE && BUILD_COMPILER == MSVC && PAWN_CELL_SIZE == 64
#if !defined __linux__ && BUILD_PLATFORM == WINDOWS && BUILD_TYPE == RELEASE && BUILD_COMPILER == MSVC && PAWN_CELL_SIZE == 64
/* bad bad workaround but we have to prevent a compiler crash :/ */
#pragma optimize("g",off)
#endif

View File

@ -584,9 +584,7 @@ int set_amxnatives(AMX* amx, char error[128])
}
int unload_amxscript(AMX* amx, void** program)
{
int flags = amx->flags;
{
Debugger *pDebugger = (Debugger *)amx->userdata[UD_DEBUGGER];
if (pDebugger)
delete pDebugger;