diff options
Diffstat (limited to 'src/map.cpp')
-rw-r--r-- | src/map.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map.cpp b/src/map.cpp index 505830db8..bb35a53f1 100644 --- a/src/map.cpp +++ b/src/map.cpp @@ -1442,7 +1442,7 @@ void Map::reduce() } else if (img->hasAlphaChannel()) { - Uint8 *arr = img->SDLgetAlphaChannel(); + uint8_t *arr = img->SDLgetAlphaChannel(); if (!arr) continue; @@ -1461,7 +1461,7 @@ void Map::reduce() for (int d = img->mBounds.y; d < img->mBounds.y + img->mBounds.h; d ++) { - Uint8 chan = arr[f + d * width]; + uint8_t chan = arr[f + d * width]; if (chan != 255) { bad = true; |