More build fix attempts

This commit is contained in:
Matt Woodrow
2009-07-24 12:54:08 +12:00
parent 3e36382b58
commit 0c9160ec8b
2 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -595,7 +595,7 @@ static cell_t SetEntDataEnt(IPluginContext *pContext, const cell_t *params)
CBaseHandle &hndl = *(CBaseHandle *)((uint8_t *)pEntity + offset);
if (params[3] == 0 || params[3] == INVALID_EHANDLE_INDEX)
if (params[3] == 0 || (unsigned)params[3] == INVALID_EHANDLE_INDEX)
{
hndl.Set(NULL);
} else {
@@ -637,7 +637,7 @@ static cell_t SetEntDataEnt2(IPluginContext *pContext, const cell_t *params)
CBaseHandle &hndl = *(CBaseHandle *)((uint8_t *)pEntity + offset);
if (params[3] == INVALID_EHANDLE_INDEX)
if ((unsigned)params[3] == INVALID_EHANDLE_INDEX)
{
hndl.Set(NULL);
}