summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/printf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/printf.c b/lib/printf.c
index 3eb988fa..a1c36129 100644
--- a/lib/printf.c
+++ b/lib/printf.c
@@ -215,7 +215,7 @@ int bvsnprintf(char *buf, int size, const char *fmt, va_list args)
if (!(flags & LEFT))
while (--field_width > 0)
*str++ = ' ';
- *str++ = (unsigned char) va_arg(args, int);
+ *str++ = (byte) va_arg(args, int);
while (--field_width > 0)
*str++ = ' ';
continue;