Index: run.c =================================================================== --- run.c (revision 275426) +++ run.c (working copy) @@ -918,7 +918,7 @@ break; case 'c': if (isnum(x)) { - if (getfval(x)) + if ((int)getfval(x)) sprintf(p, fmt, (int) getfval(x)); else { *p++ = '\0'; /* explicit null byte */