summaryrefslogtreecommitdiff
path: root/lib/printf.c
diff options
context:
space:
mode:
authorPavel TvrdĂ­k <pawel.tvrdik@gmail.cz>2015-05-19 08:14:04 +0200
committerOndrej Zajicek <santiago@crfreenet.org>2015-06-08 02:24:08 +0200
commite348ef01b433e06888310c1098a05291034a856c (patch)
tree905e6c10143b8f7dbaba792f3733eaac13b5a479 /lib/printf.c
parent398f92253186d70eb3f2e910c7f8dd2636ee5fa1 (diff)
unsgined char -> byte
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 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;