summaryrefslogtreecommitdiff
path: root/src/map.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-06-17 20:13:48 +0300
committerAndrei Karas <akaras@inbox.ru>2012-06-17 20:13:48 +0300
commitc2efedab22275302f0a10cc197424d345a021d18 (patch)
tree7488abbb3655451a3f6a1621e0708f72011af5f6 /src/map.cpp
parent79aba82be3de5b6b571e2f59f7a34ded4b03160f (diff)
downloadplus-c2efedab22275302f0a10cc197424d345a021d18.tar.gz
plus-c2efedab22275302f0a10cc197424d345a021d18.tar.bz2
plus-c2efedab22275302f0a10cc197424d345a021d18.tar.xz
plus-c2efedab22275302f0a10cc197424d345a021d18.zip
Replace SDL int types to C++ types.
Diffstat (limited to 'src/map.cpp')
-rw-r--r--src/map.cpp4
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;