Fix printing i64's.
@@ -208,7 +208,11 @@ sprintf_loop:
switch( c ) {
case 'd':
cfmt[i++] = 0;
+ if( cfmt[i-3] == 'l' ) {
+ size = sprintf(tmp,cfmt,va_arg(arglist,int64));
+ } else {
size = sprintf(tmp,cfmt,va_arg(arglist,int));
+ }
goto sprintf_add;
case 'f':
cfmt[i++] = 0;
