Fixed VS2015 warning in stb.

This commit is contained in:
Branimir Karadžić 2015-10-09 11:24:51 -07:00
parent 183ed6b73a
commit f1bba419b7

View file

@ -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