summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2011-10-16 19:59:07 +0000
committerrubidium <rubidium@openttd.org>2011-10-16 19:59:07 +0000
commit99ed5eb7c5fcbc2e7d0f9423036e065a781aedbe (patch)
treea923df11149d9b369f658325f9d5ff251707db04 /src
parent0656660f22eb334a53d6435f187eba2592622a27 (diff)
downloadopenttd-99ed5eb7c5fcbc2e7d0f9423036e065a781aedbe.tar.xz
(svn r23035) -Fix (r23034): compile failure
Diffstat (limited to 'src')
-rw-r--r--src/music_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/music_gui.cpp b/src/music_gui.cpp
index 17f09f47c..5d0f2534b 100644
--- a/src/music_gui.cpp
+++ b/src/music_gui.cpp
@@ -82,7 +82,7 @@ static byte * const _playlists[] = {
* @param playlist The playlist to validate.
* @param last The last location in the list.
*/
-void ValidatePlaylist(byte *playlist, const byte *last)
+void ValidatePlaylist(byte *playlist, byte *last)
{
while (*playlist != 0 && playlist <= last) {
/* Song indices are saved off-by-one so 0 is "nothing". */