aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm
diff options
context:
space:
mode:
Diffstat (limited to 'engines/scumm')
-rw-r--r--engines/scumm/smush/smush_font.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/scumm/smush/smush_font.cpp b/engines/scumm/smush/smush_font.cpp
index 328fe694c1..75abe9a772 100644
--- a/engines/scumm/smush/smush_font.cpp
+++ b/engines/scumm/smush/smush_font.cpp
@@ -171,7 +171,7 @@ void SmushFont::drawString(const char *str, byte *buffer, int dst_width, int dst
while (str) {
char line[256];
- char *pos = (char *)strchr(str, '\n');
+ const char *pos = strchr(str, '\n');
if (pos) {
memcpy(line, str, pos - str - 1);
line[pos - str - 1] = 0;