aboutsummaryrefslogtreecommitdiff
path: root/src/client
diff options
context:
space:
mode:
authorSmallJoker <mk939@ymail.com>2021-08-17 20:00:47 +0200
committerSmallJoker <mk939@ymail.com>2021-08-17 20:00:47 +0200
commit3b842a7e021f61c119f060df5de035b71df1fe83 (patch)
tree6d658b861515337adf4ac12a3369577de66ce23f /src/client
parent2eec997e979b8f2781970e5e2fdd8d4330aa4ec5 (diff)
downloadminetest-3b842a7e021f61c119f060df5de035b71df1fe83.tar.gz
minetest-3b842a7e021f61c119f060df5de035b71df1fe83.tar.bz2
minetest-3b842a7e021f61c119f060df5de035b71df1fe83.zip
Fix inconsistent integer comparison warnings
Diffstat (limited to 'src/client')
-rw-r--r--src/client/imagefilters.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/imagefilters.cpp b/src/client/imagefilters.cpp
index 9c7d0035e..97ad094e5 100644
--- a/src/client/imagefilters.cpp
+++ b/src/client/imagefilters.cpp
@@ -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++) {