fix compiler warning

This commit is contained in:
Yang Tse
2010-02-20 11:58:26 +00:00
parent 2179ef9fa9
commit a6fb6b70c7
3 changed files with 15 additions and 9 deletions

View File

@@ -911,7 +911,7 @@ static int dprintf_formatf(
static const char strnil[] = "(nil)";
const char *point;
width -= sizeof(strnil) - 1;
width -= (long)(sizeof(strnil) - 1);
if(p->flags & FLAGS_LEFT)
while(width-- > 0)
OUTCHAR(' ');