1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-06 17:41:04 +00:00

Fix inconsistent integer comparison warnings

This commit is contained in:
SmallJoker 2021-08-17 20:00:47 +02:00
parent 2eec997e97
commit 3b842a7e02
2 changed files with 5 additions and 5 deletions

View file

@ -102,7 +102,7 @@ void imageCleanTransparent(video::IImage *src, u32 threshold)
// Then repeatedly look for transparent pixels, filling them in until
// we're finished.
for (u32 iter = 0; iter < iter_max; iter++) {
for (int iter = 0; iter < iter_max; iter++) {
for (u32 ctry = 0; ctry < dim.Height; ctry++)
for (u32 ctrx = 0; ctrx < dim.Width; ctrx++) {