From 3bdef4f9a26b2e86b83f15e3caa990c5d7256527 Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Mon, 1 Dec 2008 21:35:17 +0000 Subject: Fixed compilation. svn-id: r35200 --- engines/sword1/animation.cpp | 4 ++-- 1 file 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(&ptr), 10); + int endFrame = strtoul(ptr, const_cast(&ptr), 10); while (*ptr && isspace(*ptr)) ptr++; -- cgit v1.2.3