get rid of some compiler warnings

This commit is contained in:
leitner
2014-02-25 18:39:59 +00:00
parent 35382a430e
commit 73db80daec
3 changed files with 6 additions and 6 deletions

View File

@@ -3,7 +3,7 @@
size_t fmt_longlong(char *dest,signed long long int i) {
if (i<0) {
if (dest) *dest++='-';
return fmt_ulonglong(dest,-i)+1;
return fmt_ulonglong(dest,(unsigned long long)-i)+1;
} else
return fmt_ulonglong(dest,i);
return fmt_ulonglong(dest,(unsigned long long)i);
}