STB libraries » Forums » stb_image compiler warnings
dbechrd
Dan
21 posts

A man named Dan.

#7362 stb_image compiler warnings
1 year, 3 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.
dbechrd
Dan
21 posts

A man named Dan.

#7363 stb_image compiler warnings
1 year, 3 months ago

Sorry I just realized this was already answered in the poorly titled thread "What am I doing wrong?".

Dan was here.