use correct vars

This commit is contained in:
Sunrin SHIMURA (keen)
2015-02-01 12:25:48 +00:00
parent b727567b6e
commit 8a7f61bf01
2 changed files with 2 additions and 2 deletions
+1 -1
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, dval, 16);
xfile_printint(stream, (int)vp, 16);
break;
default:
xputc(*(p-1), stream);