summaryrefslogtreecommitdiff
path: root/lib/printf.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/printf.c')
-rw-r--r--lib/printf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/printf.c b/lib/printf.c
index a1c36129..e4cc3006 100644
--- a/lib/printf.c
+++ b/lib/printf.c
@@ -355,7 +355,7 @@ int bvsnprintf(char *buf, int size, const char *fmt, va_list args)
} else if (flags & SIGN)
num = va_arg(args, int);
else
- num = va_arg(args, unsigned int);
+ num = va_arg(args, uint);
str = number(str, num, base, field_width, precision, flags, size);
if (!str)
return -1;