Correct cast type

This commit is contained in:
Syohei YOSHIDA 2015-05-22 14:53:17 +09:00
parent d2842dd579
commit 919675670f
1 changed files with 1 additions and 1 deletions

View File

@ -622,7 +622,7 @@ xvfprintf(xFILE *stream, const char *fmt, va_list ap)
case 'p':
vp = va_arg(ap, void*);
xfputs("0x", stream);
xfile_printint(stream, (int)vp, 16);
xfile_printint(stream, (long)vp, 16);
break;
default:
xputc(*(p-1), stream);