aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/queen/journal.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/queen/journal.cpp b/engines/queen/journal.cpp
index e9f02ff41b..14cbb85953 100644
--- a/engines/queen/journal.cpp
+++ b/engines/queen/journal.cpp
@@ -394,7 +394,7 @@ void Journal::drawPanelText(int y, const char *text) {
text = p + 1;
}
// draw the substrings
- char *p = strchr(text, ' ');
+ char *p = (char *)strchr(text, ' ');
if (!p) {
int x = (128 - _vm->display()->textWidth(text)) / 2;
_vm->display()->setText(x, y, text, false);