aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra
diff options
context:
space:
mode:
authorJohannes Schickel2012-04-05 00:38:14 +0200
committerJohannes Schickel2012-04-05 00:40:30 +0200
commit8c57c71e3a81edf03905b549c70599ab5247f969 (patch)
treeb677042cd67aecfac727f05996e2a6b46eceee7e /engines/kyra
parentf7d2cd73314b11dd7883da9c3802d34c4253fcaa (diff)
downloadscummvm-rg350-8c57c71e3a81edf03905b549c70599ab5247f969.tar.gz
scummvm-rg350-8c57c71e3a81edf03905b549c70599ab5247f969.tar.bz2
scummvm-rg350-8c57c71e3a81edf03905b549c70599ab5247f969.zip
KYRA: Silence const away cast warning by using non-const versions of strpbrk and strchr.
Diffstat (limited to 'engines/kyra')
-rw-r--r--engines/kyra/sequences_lok.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/kyra/sequences_lok.cpp b/engines/kyra/sequences_lok.cpp
index 3475402a98..dd49d6faaa 100644
--- a/engines/kyra/sequences_lok.cpp
+++ b/engines/kyra/sequences_lok.cpp
@@ -1258,9 +1258,9 @@ void KyraEngine_LoK::seq_playCredits() {
do {
currentString = nextString;
- nextString = (uint8 *)strpbrk((const char *)currentString, stringTerms);
+ nextString = (uint8 *)strpbrk((char *)currentString, stringTerms);
if (!nextString)
- nextString = (uint8 *)strchr((const char *)currentString, 0);
+ nextString = (uint8 *)strchr((char *)currentString, 0);
CreditsLine line;