const correctness

svn-id: r8725
This commit is contained in:
Max Horn 2003-07-03 21:45:04 +00:00
parent 6b7e12faed
commit 30d985afb9
2 changed files with 2 additions and 2 deletions

View File

@ -1178,7 +1178,7 @@ void OSystem_SDL_Common::setup_icon() {
}
memset(mask, 0, sizeof(mask));
for (h = 0; h < 32; h++) {
char *line = scummvm_icon[1 + ncols + h];
const char *line = scummvm_icon[1 + ncols + h];
for (w = 0; w < 32; w++) {
icon[w + 32 * h] = rgba[(int)line[w]];
if (rgba[(int)line[w]] & 0xFF000000) {

View File

@ -1,5 +1,5 @@
/* XPM */
static char *scummvm_icon[] = {
static const char *scummvm_icon[] = {
/* columns rows colors chars-per-pixel */
"32 32 80 1",
" c black",