Remove dead file and fix gcc build.

This commit is contained in:
2015-02-24 11:39:28 -08:00
parent f0aa177bf8
commit 8b8edf6e70
2 changed files with 1 additions and 14 deletions
+1 -1
View File
@@ -156,7 +156,7 @@ static const char *sErrorMsgTable[] =
const char *
Environment::GetErrorString(int error)
{
if (error < 1 || error > (sizeof(sErrorMsgTable) / sizeof(sErrorMsgTable[0])))
if (error < 1 || error > int(sizeof(sErrorMsgTable) / sizeof(sErrorMsgTable[0])))
return NULL;
return sErrorMsgTable[error];
}