summaryrefslogtreecommitdiffstats
path: root/runtime/vsprintf.c
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/vsprintf.c')
-rw-r--r--runtime/vsprintf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/vsprintf.c b/runtime/vsprintf.c
index 21a1c156..44e431fb 100644
--- a/runtime/vsprintf.c
+++ b/runtime/vsprintf.c
@@ -295,7 +295,7 @@ int _stp_vsnprintf(char *buf, size_t size, const char *fmt, va_list args)
flags |= STP_ZEROPAD;
}
str = number(str, end,
- (unsigned long) va_arg(args, void *),
+ (unsigned long) va_arg(args, int64_t),
16, field_width, precision, flags);
continue;