aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/sfx/music.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sci/sfx/music.cpp')
-rw-r--r--engines/sci/sfx/music.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/sfx/music.cpp b/engines/sci/sfx/music.cpp
index ea3ab28e63..f44c40f8b6 100644
--- a/engines/sci/sfx/music.cpp
+++ b/engines/sci/sfx/music.cpp
@@ -34,7 +34,7 @@ namespace Sci {
static const int nMidiParams[] = { 2, 2, 2, 2, 1, 1, 2, 0 };
static int f_compare(const void *arg1, const void *arg2) {
- return ((sciSound *)arg2)->prio - ((sciSound *)arg1)->prio;
+ return ((const sciSound *)arg2)->prio - ((const sciSound *)arg1)->prio;
}
SciMusic::SciMusic() {