From dcba44a20e622ec38d536fb03c0c8404e9399f80 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 11 Jun 2012 02:53:26 +0300 Subject: Fix code style. --- src/resources/openglimagehelper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/resources/openglimagehelper.cpp') diff --git a/src/resources/openglimagehelper.cpp b/src/resources/openglimagehelper.cpp index 1de5305c4..db75a7b0c 100644 --- a/src/resources/openglimagehelper.cpp +++ b/src/resources/openglimagehelper.cpp @@ -69,7 +69,7 @@ Resource *OpenGLImageHelper::load(SDL_RWops *rw, Dye const &dye) for (Uint32 *p_end = pixels + surf->w * surf->h; pixels != p_end; ++pixels) { - Uint8 *p = (Uint8 *)pixels; + Uint8 *p = reinterpret_cast(pixels); const int alpha = *p & 255; if (!alpha) continue; -- cgit v1.2.3-60-g2f50