aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2013-09-06 15:50:49 +0300
committerEugene Sandulenko2013-09-06 15:50:49 +0300
commit0b88635ef44998d6594b70f71163adb6f950ed76 (patch)
treee1bf77e2400bfde8d9f08b589a10c5e963e76ddf
parenta5800dfe1a34f040d6cef9d0b7a8d7213ebafe5e (diff)
downloadscummvm-rg350-0b88635ef44998d6594b70f71163adb6f950ed76.tar.gz
scummvm-rg350-0b88635ef44998d6594b70f71163adb6f950ed76.tar.bz2
scummvm-rg350-0b88635ef44998d6594b70f71163adb6f950ed76.zip
FULLPIPE: Fix const'ness
-rw-r--r--engines/fullpipe/interaction.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/fullpipe/interaction.cpp b/engines/fullpipe/interaction.cpp
index b3cdeba63d..9b480dfeb1 100644
--- a/engines/fullpipe/interaction.cpp
+++ b/engines/fullpipe/interaction.cpp
@@ -41,8 +41,8 @@ bool CInteractionController::load(MfcArchive &file) {
int static_compSceneId = 0;
bool CInteractionController::compareInteractions(const void *p1, const void *p2) {
- CInteraction *i1 = (CInteraction *)p1;
- CInteraction *i2 = (CInteraction *)p2;
+ const CInteraction *i1 = (const CInteraction *)p1;
+ const CInteraction *i2 = (const CInteraction *)p2;
if ( i2->_sceneId < i1->_sceneId) {
if ( i1->_sceneId != static_compSceneId)