diff --git a/lib/vsprintf.c b/lib/vsprintf.c index 97be2d07297a..38a71df48d48 100644 --- a/lib/vsprintf.c +++ b/lib/vsprintf.c @@ -2092,6 +2092,7 @@ qualifier: case 'x': spec->flags |= SMALL; + /* fall through */ case 'X': spec->base = 16; @@ -3046,8 +3047,10 @@ int vsscanf(const char *buf, const char *fmt, va_list args) break; case 'i': base = 0; + /* fall through */ case 'd': is_sign = true; + /* fall through */ case 'u': break; case '%':