소스 검색

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