Mercurial > hg > dmlib
diff stb_image.c @ 24:b0f1b8544b62
Silence some warnings.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Fri, 28 Sep 2012 15:45:23 +0300 |
parents | 32250b436bca |
children | 43c985265fd5 |
line wrap: on
line diff
--- a/stb_image.c Fri Sep 28 14:52:40 2012 +0300 +++ b/stb_image.c Fri Sep 28 15:45:23 2012 +0300 @@ -812,6 +812,7 @@ return (z << 16) + get16(s); } +#ifdef STBI_CRAP_FORMATS static int get16le(stbi *s) { int z = get8(s); @@ -823,6 +824,7 @@ uint32 z = get16le(s); return z + (get16le(s) << 16); } +#endif ////////////////////////////////////////////////////////////////////////////// //