diff options
author | Oliver Kiehl | 2003-05-17 23:48:32 +0000 |
---|---|---|
committer | Oliver Kiehl | 2003-05-17 23:48:32 +0000 |
commit | 0a8cdad264ee3208d16b09c970f66a8cf1f9c568 (patch) | |
tree | f2a5449b51ff1e444eafd346793309379b7d35ed /backends/sdl | |
parent | a95e860c104d125a89c6d5b9d2a079af88183bd9 (diff) | |
download | scummvm-rg350-0a8cdad264ee3208d16b09c970f66a8cf1f9c568.tar.gz scummvm-rg350-0a8cdad264ee3208d16b09c970f66a8cf1f9c568.tar.bz2 scummvm-rg350-0a8cdad264ee3208d16b09c970f66a8cf1f9c568.zip |
make gcc 3.3 happy
svn-id: r7621
Diffstat (limited to 'backends/sdl')
-rw-r--r-- | backends/sdl/sdl-common.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/backends/sdl/sdl-common.cpp b/backends/sdl/sdl-common.cpp index 0761da84b5..95c4ea7364 100644 --- a/backends/sdl/sdl-common.cpp +++ b/backends/sdl/sdl-common.cpp @@ -1124,8 +1124,8 @@ void OSystem_SDL_Common::setup_icon() { for (h = 0; h < 32; h++) { char *line = scummvm_icon[1 + ncols + h]; for (w = 0; w < 32; w++) { - icon[w + 32 * h] = rgba[line[w]]; - if (rgba[line[w]] & 0xFF000000) { + icon[w + 32 * h] = rgba[(int)line[w]]; + if (rgba[(int)line[w]] & 0xFF000000) { mask[h][w >> 3] |= 1 << (7 - (w & 0x07)); } } |