From 816ea354355bc5141aa4f2ff75fe93b71ee35c41 Mon Sep 17 00:00:00 2001 From: johan Date: Mon, 23 Jun 2014 01:17:43 +0200 Subject: [PATCH] warn correction gcc warning: unused parameter removed for macro STBTT_free --- stb_truetype.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stb_truetype.h b/stb_truetype.h index b1f81ed..67e262b 100644 --- a/stb_truetype.h +++ b/stb_truetype.h @@ -378,7 +378,7 @@ int main(int arg, char **argv) #ifndef STBTT_malloc #include #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