aboutsummaryrefslogtreecommitdiff
path: root/sys/lib/string/vsnprintf.c
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2024-05-14 00:16:22 -0400
committerIan Moffett <ian@osmora.org>2024-05-14 00:16:22 -0400
commit49da408ed8c3d9903a67e0af113b38283862cb47 (patch)
tree79afadcdb7f1a073b17ee683028936499f9eecb9 /sys/lib/string/vsnprintf.c
parent002bdd193d3454147fe4b7e8dfd4eecfa08d05bc (diff)
kernel: vsnprintf: Use int instead of int64_t
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/lib/string/vsnprintf.c')
-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;