From 49da408ed8c3d9903a67e0af113b38283862cb47 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Tue, 14 May 2024 00:16:22 -0400 Subject: kernel: vsnprintf: Use int instead of int64_t Signed-off-by: Ian Moffett --- sys/lib/string/vsnprintf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys') 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; -- cgit v1.2.3