ssize_t does not exist on windows

This commit is contained in:
Desour 2024-03-20 13:50:19 +01:00
parent 4de4063b79
commit 12e83f9425
1 changed files with 1 additions and 1 deletions

View File

@ -320,7 +320,7 @@ static void imageCleanTransparentNew(video::IImage *src, u32 threshold)
// If a pixel's alpha is < threshold, we sample the smaller level with bilinear
// interpolation.
for (ssize_t lvl = levels.size() - 2; lvl >= 0; --lvl) {
for (int lvl = levels.size() - 2; lvl >= 0; --lvl) {
u32 *const data_large = levels[lvl].first;
u32 *const data_small = levels[lvl+1].first;
const core::dimension2d<u32> dim_large = levels[lvl].second;