Merge pull request #264 from syohex/correct-type

Correct cast type
This commit is contained in:
Yuichi Nishiwaki 2015-05-23 19:38:07 +09:00
commit 55e9458e52
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);