Pārlūkot izejas kodu

Merge pull request #15 from nodj/master

minor warn correction
nothings 11 gadi atpakaļ
vecāks
revīzija
0cc827fe2a
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      stb_truetype.h

+ 1 - 1
stb_truetype.h

@@ -378,7 +378,7 @@ int main(int arg, char **argv)
    #ifndef STBTT_malloc
    #include <stdlib.h>
    #define STBTT_malloc(x,u)  ((void)(u),malloc(x))
-   #define STBTT_free(x,u)    free(x)
+   #define STBTT_free(x,u)    ((void)(u),free(x))
    #endif
 
    #ifndef STBTT_assert