This commit is contained in:
Sean Barrett 2018-01-29 03:15:17 -08:00
commit e5946524d7

View File

@ -928,7 +928,7 @@ STBSP__PUBLICDEF int STB_SPRINTF_DECORATE(vsprintfcb)(STBSP_SPRINTFCB *callback,
fl |= (sizeof(void *) == 8) ? STBSP__INTMAX : 0; fl |= (sizeof(void *) == 8) ? STBSP__INTMAX : 0;
pr = sizeof(void *) * 2; pr = sizeof(void *) * 2;
fl &= ~STBSP__LEADINGZERO; // 'p' only prints the pointer with zeros fl &= ~STBSP__LEADINGZERO; // 'p' only prints the pointer with zeros
// drop through to X // fall through - to X
case 'X': // upper hex case 'X': // upper hex
case 'x': // lower hex case 'x': // lower hex