From 7d80a8b44d5a25a922885c84e97bdcaf093195a5 Mon Sep 17 00:00:00 2001 From: Marcin Wojdyr Date: Fri, 11 Aug 2017 00:19:18 +0100 Subject: [PATCH] avoid GCC7 implicit-fallthrough warning (GCC recognizes certain strings in comments) --- stb_sprintf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stb_sprintf.h b/stb_sprintf.h index 3828445..d6a00b5 100644 --- a/stb_sprintf.h +++ b/stb_sprintf.h @@ -927,7 +927,7 @@ STBSP__PUBLICDEF int STB_SPRINTF_DECORATE(vsprintfcb)(STBSP_SPRINTFCB *callback, fl |= (sizeof(void *) == 8) ? STBSP__INTMAX : 0; pr = sizeof(void *) * 2; fl &= ~STBSP__LEADINGZERO; // 'p' only prints the pointer with zeros - // drop through to X + // fall through - to X case 'X': // upper hex case 'x': // lower hex