From 30d985afb96c07766fd887fefbf06e892c204637 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Thu, 3 Jul 2003 21:45:04 +0000 Subject: [PATCH] const correctness svn-id: r8725 --- backends/sdl/sdl-common.cpp | 2 +- scummvm.xpm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/backends/sdl/sdl-common.cpp b/backends/sdl/sdl-common.cpp index f1ff07099a1..fd720cd9b9e 100644 --- a/backends/sdl/sdl-common.cpp +++ b/backends/sdl/sdl-common.cpp @@ -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) { diff --git a/scummvm.xpm b/scummvm.xpm index dede9ebe3ea..4c1077c3899 100644 --- a/scummvm.xpm +++ b/scummvm.xpm @@ -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",