aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--backends/sdl/sdl-common.cpp2
-rw-r--r--scummvm.xpm2
2 files changed, 2 insertions, 2 deletions
diff --git a/backends/sdl/sdl-common.cpp b/backends/sdl/sdl-common.cpp
index f1ff07099a..fd720cd9b9 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 dede9ebe3e..4c1077c389 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",