1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-18 02:45:21 +02: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++) {