Explorar o código

"long int" => "long"

Sean Barrett %!s(int64=6) %!d(string=hai) anos
pai
achega
a23f466de0
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      stb_sprintf.h

+ 1 - 1
stb_sprintf.h

@@ -460,7 +460,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);
+         fl |= ((sizeof(long) == 8) ? STBSP__INTMAX : 0);
          ++f;
          if (f[0] == 'l') {
             fl |= STBSP__INTMAX;