diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-06-17 20:13:48 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-06-17 20:13:48 +0300 |
commit | c2efedab22275302f0a10cc197424d345a021d18 (patch) | |
tree | 7488abbb3655451a3f6a1621e0708f72011af5f6 /src/map.cpp | |
parent | 79aba82be3de5b6b571e2f59f7a34ded4b03160f (diff) | |
download | manaplus-c2efedab22275302f0a10cc197424d345a021d18.tar.gz manaplus-c2efedab22275302f0a10cc197424d345a021d18.tar.bz2 manaplus-c2efedab22275302f0a10cc197424d345a021d18.tar.xz manaplus-c2efedab22275302f0a10cc197424d345a021d18.zip |
Replace SDL int types to C++ types.
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; |