diff options
author | Matthew Hoops | 2009-12-19 02:03:41 +0000 |
---|---|---|
committer | Matthew Hoops | 2009-12-19 02:03:41 +0000 |
commit | 144bd33ec4f6499cbad469a885258f56edc4fdc1 (patch) | |
tree | 24ceb734d9f999ca3726ebd188739b4eabb70381 /backends/platform | |
parent | 2e6013947df83d3364073d971cdce7325297c889 (diff) | |
download | scummvm-rg350-144bd33ec4f6499cbad469a885258f56edc4fdc1.tar.gz scummvm-rg350-144bd33ec4f6499cbad469a885258f56edc4fdc1.tar.bz2 scummvm-rg350-144bd33ec4f6499cbad469a885258f56edc4fdc1.zip |
Silence some gcc 3.4.5 warnings.
svn-id: r46415
Diffstat (limited to 'backends/platform')
-rw-r--r-- | backends/platform/sdl/graphics.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/backends/platform/sdl/graphics.cpp b/backends/platform/sdl/graphics.cpp index 4a9c88419a..e02e2f0d1d 100644 --- a/backends/platform/sdl/graphics.cpp +++ b/backends/platform/sdl/graphics.cpp @@ -1583,9 +1583,9 @@ void OSystem_SDL::blitCursor() { #ifdef USE_RGB_COLOR if (_cursorFormat.bytesPerPixel > 1) { if (_cursorFormat.bytesPerPixel == 2) - color = *(uint16 *)srcPtr; + color = *(const uint16 *)srcPtr; else - color = *(uint32 *)srcPtr; + color = *(const uint32 *)srcPtr; if (color != _mouseKeyColor) { // transparent, don't draw uint8 r, g, b; _cursorFormat.colorToRGB(color, r, g, b); |