提交 7d80a8b4 编写于 作者: M Marcin Wojdyr 提交者: GitHub

avoid GCC7 implicit-fallthrough warning

(GCC recognizes certain strings in comments)
上级 9d9f75eb
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册