ソースを参照

Merge pull request #15 from nodj/master

minor warn correction
nothings 11 年 前
コミット
0cc827fe2a
1 ファイル変更1 行追加1 行削除
  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