Register
STB libraries»Forums»stb_image compiler warnings
Dan
22 posts

A man named Dan.

stb_image compiler warnings
3 years, 5 months ago Edited by Dan on June 21, 2016, 12:38 p.m.
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 was here.
Dan
22 posts

A man named Dan.

stb_image compiler warnings
3 years, 5 months ago
Sorry I just realized this was already answered in the poorly titled thread "What am I doing wrong?".

Dan was here.