unsigned ints are always greater than or equal to zero
This commit is contained in:
parent
92b096bbd4
commit
e920f2c6fa
|
@ -139,7 +139,7 @@ hlVoid CError::SetSystemErrorMessageFormated(const hlChar *lpFormat, ...)
|
||||||
|
|
||||||
hlUInt uiLength = (hlUInt)strlen(this->lpSystemError);
|
hlUInt uiLength = (hlUInt)strlen(this->lpSystemError);
|
||||||
|
|
||||||
while(uiLength >= 0 && isspace(this->lpSystemError[uiLength - 1]))
|
while(isspace(this->lpSystemError[uiLength - 1]))
|
||||||
{
|
{
|
||||||
uiLength--;
|
uiLength--;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue