mirror of
https://github.com/nothings/stb.git
synced 2026-07-10 16:59:32 +00:00
Merge branch 'fix-sprintf-int-size-1' of https://github.com/account-login/stb into working
This commit is contained in:
@@ -459,6 +459,7 @@ STBSP__PUBLICDEF int STB_SPRINTF_DECORATE(vsprintfcb)(STBSP_SPRINTFCB *callback,
|
||||
break;
|
||||
// are we 64-bit (unix style)
|
||||
case 'l':
|
||||
fl |= ((sizeof(long int) == 8) ? STBSP__INTMAX : 0);
|
||||
++f;
|
||||
if (f[0] == 'l') {
|
||||
fl |= STBSP__INTMAX;
|
||||
|
||||
Reference in New Issue
Block a user