From c2efedab22275302f0a10cc197424d345a021d18 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 17 Jun 2012 20:13:48 +0300 Subject: Replace SDL int types to C++ types. --- src/map.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/map.cpp') 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; -- cgit v1.2.3-70-g09d2