eliminated compiler warnings

This commit is contained in:
boercher
2005-10-25 22:34:07 +00:00
parent 305c5856cd
commit bba4631370
8 changed files with 12 additions and 11 deletions
+1 -1
View File
@@ -42,7 +42,7 @@ sprintf_memory(char *dst, double value, double roundlimit)
if ((roundlimit <= 0.0) || (roundlimit > 1.0))
roundlimit = 0.5;
while (units[offs] != NULL > 0) {
while (units[offs] != NULL) {
if (value <= 1024 * roundlimit)
break;
offs++;