Miscellaneous: Unsigned expressions cant be negative

This commit is contained in:
Subv
2012-07-06 20:52:54 -05:00
parent d4390c171a
commit 26c36ba854
+3 -3
View File
@@ -80,7 +80,7 @@ public:
char* countStr = strtok(NULL, " ");
uint32 count = countStr ? atol(countStr) : 10;
if (count < 0)
if (count == 0)
return false;
QueryResult result;
@@ -152,7 +152,7 @@ public:
char* countStr = strtok(NULL, " ");
uint32 count = countStr ? atol(countStr) : 10;
if (count < 0)
if (count == 0)
return false;
PreparedQueryResult result;
@@ -369,7 +369,7 @@ public:
char* countStr = strtok(NULL, " ");
uint32 count = countStr ? atol(countStr) : 10;
if (count < 0)
if (count == 0)
return false;
QueryResult result;