[Scummvm-cvs-logs] CVS: scummvm/backends/sdl sdl-common.cpp,1.48,1.49
Oliver Kiehl
olki at users.sourceforge.net
Sat May 17 16:49:04 CEST 2003
Update of /cvsroot/scummvm/scummvm/backends/sdl
In directory sc8-pr-cvs1:/tmp/cvs-serv17269
Modified Files:
sdl-common.cpp
Log Message:
make gcc 3.3 happy
Index: sdl-common.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/backends/sdl/sdl-common.cpp,v
retrieving revision 1.48
retrieving revision 1.49
diff -u -d -r1.48 -r1.49
--- sdl-common.cpp 14 May 2003 19:47:57 -0000 1.48
+++ sdl-common.cpp 17 May 2003 23:48:32 -0000 1.49
@@ -1124,8 +1124,8 @@
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));
}
}
More information about the Scummvm-git-logs
mailing list