aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Schickel2008-12-01 21:35:17 +0000
committerJohannes Schickel2008-12-01 21:35:17 +0000
commit3bdef4f9a26b2e86b83f15e3caa990c5d7256527 (patch)
tree9f46238917422f8a3937cbfa4588107851cb9584
parent4b7d45558033eb03bf9b6dad382aa849b64bdee4 (diff)
downloadscummvm-rg350-3bdef4f9a26b2e86b83f15e3caa990c5d7256527.tar.gz
scummvm-rg350-3bdef4f9a26b2e86b83f15e3caa990c5d7256527.tar.bz2
scummvm-rg350-3bdef4f9a26b2e86b83f15e3caa990c5d7256527.zip
Fixed compilation.
svn-id: r35200
-rw-r--r--engines/sword1/animation.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sword1/animation.cpp b/engines/sword1/animation.cpp
index a0072455ba..b621ab0f9c 100644
--- a/engines/sword1/animation.cpp
+++ b/engines/sword1/animation.cpp
@@ -199,8 +199,8 @@ bool MoviePlayer::load(uint32 id) {
const char *ptr = line.c_str();
// TODO: Better error handling
- int startFrame = strtoul(ptr, (char **)&ptr, 10);
- int endFrame = strtoul(ptr, (char **)&ptr, 10);
+ int startFrame = strtoul(ptr, const_cast<char **>(&ptr), 10);
+ int endFrame = strtoul(ptr, const_cast<char **>(&ptr), 10);
while (*ptr && isspace(*ptr))
ptr++;