summaryrefslogtreecommitdiff
path: root/lib/printf.c
diff options
context:
space:
mode:
authorOndrej Zajicek (work) <santiago@crfreenet.org>2019-07-11 15:36:42 +0200
committerOndrej Zajicek (work) <santiago@crfreenet.org>2019-07-11 15:44:05 +0200
commita92aee467e89473a9d07fa177794f5559f852b59 (patch)
tree45c9c2e1b990d59b3f0d92e8c1afc1030a256332 /lib/printf.c
parent6b72ea4c14f87b2b738341e73c09e79eb138c477 (diff)
Avoid fallthrough warnings
Diffstat (limited to 'lib/printf.c')
-rw-r--r--lib/printf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/printf.c b/lib/printf.c
index 4fd75c9b..48b86a5f 100644
--- a/lib/printf.c
+++ b/lib/printf.c
@@ -342,6 +342,7 @@ int bvsnprintf(char *buf, int size, const char *fmt, va_list args)
case 'X':
flags |= LARGE;
+ /* fallthrough */
case 'x':
base = 16;
break;