From 919675670f830b4837b900497438345ec42daf4c Mon Sep 17 00:00:00 2001 From: Syohei YOSHIDA Date: Fri, 22 May 2015 14:53:17 +0900 Subject: [PATCH] Correct cast type --- extlib/benz/include/picrin/xfile.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extlib/benz/include/picrin/xfile.h b/extlib/benz/include/picrin/xfile.h index 8849fd04..cce8fd05 100644 --- a/extlib/benz/include/picrin/xfile.h +++ b/extlib/benz/include/picrin/xfile.h @@ -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);