From 8554dc6e3e222ac301edf087a8051fa2ebd7a006 Mon Sep 17 00:00:00 2001 From: Wu Shuang Date: Thu, 7 Jan 2016 21:31:06 +0800 Subject: [PATCH] fix compile warning --- stb_image_resize.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stb_image_resize.h b/stb_image_resize.h index 4ce7ddb..54103d1 100644 --- a/stb_image_resize.h +++ b/stb_image_resize.h @@ -386,7 +386,7 @@ STBIRDEF int stbir_resize_region( const void *input_pixels , int input_w , int #ifdef STBIR_DEBUG #define STBIR__DEBUG_ASSERT STBIR_ASSERT #else -#define STBIR__DEBUG_ASSERT +#define STBIR__DEBUG_ASSERT(x) (void)(x) #endif // If you hit this it means I haven't done it yet.