linux warning bits (trunk only)

a few syntactical tweaks to silence warnings from gcc on linux
for code that was only updated in the trunk
This commit is contained in:
cohrs
2008-01-25 16:47:50 +00:00
parent c68ffb4607
commit 3c73c222da
3 changed files with 3 additions and 3 deletions

View File

@@ -1094,7 +1094,7 @@ char resultbuf[]; /* should be at least [7] to hold "18/100\0" */
Sprintf(resultbuf, "%d", attrval);
else if (attrval > STR18(100)) /* 19 to 25 */
Sprintf(resultbuf, "%d", attrval - 100);
else /* simplify "18/**" to be "18/100" */
else /* simplify "18/ **" to be "18/100" */
Sprintf(resultbuf, "18/%02d", attrval - 18);
return resultbuf;
}