summaryrefslogtreecommitdiff
path: root/music
diff options
context:
space:
mode:
authorDarkvater <darkvater@openttd.org>2006-01-26 22:09:25 +0000
committerDarkvater <darkvater@openttd.org>2006-01-26 22:09:25 +0000
commita6756ccf211954e03019c1f9feb684dff9ef3ee3 (patch)
tree368258788bb985109bac072e8833a7c645857f56 /music
parent1a2fac805c686f433e239ca100b06e5679bf64da (diff)
downloadopenttd-a6756ccf211954e03019c1f9feb684dff9ef3ee3.tar.xz
(svn r3448) - Fix: wrap up some MinGW warnings
Diffstat (limited to 'music')
-rw-r--r--music/dmusic.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/music/dmusic.cpp b/music/dmusic.cpp
index b93acde19..3af6dfc81 100644
--- a/music/dmusic.cpp
+++ b/music/dmusic.cpp
@@ -118,7 +118,7 @@ static void DMusicMidiStop(void)
if (performance != NULL) performance->Stop(NULL, NULL, 0, 0);
if (segment != NULL) {
- segment->SetParam(GUID_Unload, -1, 0, 0, performance);
+ segment->SetParam(GUID_Unload, 0xFFFFFFFF, 0, 0, performance);
segment->Release();
segment = NULL;
}