From e920f2c6fa1a86f9683a4fbccb7b2e71fea993b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Ho=C5=A1ek?= Date: Sat, 30 Jun 2012 14:42:46 +0200 Subject: [PATCH] unsigned ints are always greater than or equal to zero --- HLLib/Error.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/HLLib/Error.cpp b/HLLib/Error.cpp index 856f5de..5ea2054 100644 --- a/HLLib/Error.cpp +++ b/HLLib/Error.cpp @@ -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--; }