STB libraries»Forums
Dan
22 posts
A man named Dan.
stb_image compiler warnings
Edited by Dan on
I have warnings as errors enabled in Visual Studio, and I'm getting a few type conversion errors, "int -> stbi_uc", in the function "stbi__tga_read_rgb16".

https://github.com/nothings/stb/blob/master/stb_image.h#L5089

I'm not confident enough to submit a pull request for this, but it would be nice if someone with proper knowledge of the library could fix the warnings (or tell me my compiler is stupid and I should just ignore them).
Dan
22 posts
A man named Dan.
stb_image compiler warnings
Sorry I just realized this was already answered in the poorly titled thread "What am I doing wrong?".