aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilippos Karapetis2007-11-01 20:11:54 +0000
committerFilippos Karapetis2007-11-01 20:11:54 +0000
commitad64b3728adf0fc764398312a8f232b650db7953 (patch)
tree568c43a09f4179935457c1f544e387b100736479
parent36a372ecd1a8c04399cb4ba996ac0bfbb0f907aa (diff)
downloadscummvm-rg350-ad64b3728adf0fc764398312a8f232b650db7953.tar.gz
scummvm-rg350-ad64b3728adf0fc764398312a8f232b650db7953.tar.bz2
scummvm-rg350-ad64b3728adf0fc764398312a8f232b650db7953.zip
Fixed compilation
svn-id: r29368
-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);