From f1bba419b7377d3d1d3484bc214258d5a0010ea6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Branimir=20Karad=C5=BEi=C4=87?= Date: Fri, 9 Oct 2015 11:24:51 -0700 Subject: [PATCH] Fixed VS2015 warning in stb. --- 3rdparty/stb/stb_image.c | 1 + 1 file changed, 1 insertion(+) diff --git a/3rdparty/stb/stb_image.c b/3rdparty/stb/stb_image.c index 324d37cf..bc305501 100644 --- a/3rdparty/stb/stb_image.c +++ b/3rdparty/stb/stb_image.c @@ -1,6 +1,7 @@ #ifdef __GNUC__ # pragma GCC diagnostic ignored "-Wshadow" #elif defined(_MSC_VER) +# pragma warning(disable:4312) // warning C4312: 'type cast': conversion from '' to '' of greater size # pragma warning(disable:4456) // warning C4456: declaration of 'k' hides previous local declaration # pragma warning(disable:4457) // warning C4457: declaration of 'y' hides function parameter #endif