summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/lib/string/vsnprintf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/lib/string/vsnprintf.c b/sys/lib/string/vsnprintf.c
index 37ec759..1468a11 100644
--- a/sys/lib/string/vsnprintf.c
+++ b/sys/lib/string/vsnprintf.c
@@ -84,7 +84,7 @@ vsnprintf(char *s, size_t size, const char *fmt, va_list ap)
printc(s, size, &off, c1);
break;
case 'd':
- num = va_arg(ap, int64_t);
+ num = va_arg(ap, int);
itoa(num, num_buf, 10);
printstr(s, size, &off, num_buf);
break;