fix compiler warning

This commit is contained in:
Yang Tse
2010-02-20 01:15:10 +00:00
parent 048438345a
commit 2179ef9fa9
2 changed files with 8 additions and 8 deletions

View File

@@ -871,7 +871,7 @@ static int dprintf_formatf(
len = strlen(str);
if(prec != -1 && (size_t) prec < len)
len = prec;
len = (size_t)prec;
width -= (long)len;
if(p->flags & FLAGS_ALT)