summaryrefslogtreecommitdiff
path: root/src/guichan/sdl/sdlimage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/guichan/sdl/sdlimage.cpp')
-rw-r--r--src/guichan/sdl/sdlimage.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/guichan/sdl/sdlimage.cpp b/src/guichan/sdl/sdlimage.cpp
index f00db27f9..5bb7041ff 100644
--- a/src/guichan/sdl/sdlimage.cpp
+++ b/src/guichan/sdl/sdlimage.cpp
@@ -140,7 +140,7 @@ namespace gcn
for (i = 0; i < mSurface->w * mSurface->h; ++i)
{
- Uint8 r, g, b, a;
+ uint8_t r, g, b, a;
SDL_GetRGBA((static_cast<unsigned int*>(mSurface->pixels)[i]),
mSurface->format, &r, &g, &b, &a);