unsigned ints are always greater than or equal to zero

This commit is contained in:
Ondřej Hošek 2012-06-30 14:42:46 +02:00
parent 92b096bbd4
commit e920f2c6fa
1 changed files with 1 additions and 1 deletions

View File

@ -139,7 +139,7 @@ hlVoid CError::SetSystemErrorMessageFormated(const hlChar *lpFormat, ...)
hlUInt uiLength = (hlUInt)strlen(this->lpSystemError);
while(uiLength >= 0 && isspace(this->lpSystemError[uiLength - 1]))
while(isspace(this->lpSystemError[uiLength - 1]))
{
uiLength--;
}