- cleaned up makefiles

- polished code to avoid warnings
This commit is contained in:
zolliker
2005-03-08 11:12:23 +00:00
parent 350c410bdf
commit 94075f06c7
60 changed files with 189 additions and 286 deletions

View File

@@ -119,7 +119,7 @@ void OiSet(Eve *eve, char *cmd, double val, int dig) {
if (eve->syntax == 0) {
for (;dig>0;dig--) val=val*10;
snprintf(buf, sizeof(buf), "%s%05d", cmd, val);
snprintf(buf, sizeof(buf), "%s%05d", cmd, (int)val);
} else {
snprintf(buf, sizeof(buf), "%s%f", cmd, val);
}