nothings / stb

stb single-file public domain libraries for C/C++
https://twitter.com/nothings
Other
26.31k stars 7.69k forks source link

Fix warnings #1474

Closed 1vanK closed 1 year ago

1vanK commented 1 year ago
4>G:\my_games\dviglo2d\repo\libs\third_party\stb\stb_image.h(2224,32): warning C4244: 'argument': conversion from 'int' to 'short', possible loss of data
4>G:\my_games\dviglo2d\repo\libs\third_party\stb\stb_image.h(2281,35): warning C4244: 'argument': conversion from 'int' to 'short', possible loss of data
4>G:\my_games\dviglo2d\repo\libs\third_party\stb\stb_image.h(3425,49): warning C4244: '=': conversion from 'int' to 'unsigned char', possible loss of data
rygorous commented 1 year ago

There's a fix for this already in the dev branch (commit 8c3aa0548766e6fef7da184107d35fd81315c1a5, will be in the next release) so closing this PR.