Pārlūkot izejas kodu

avoid GCC7 implicit-fallthrough warning

(GCC recognizes certain strings in comments)
Marcin Wojdyr 8 gadi atpakaļ
vecāks
revīzija
7d80a8b44d
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      stb_sprintf.h

+ 1 - 1
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