aboutsummaryrefslogtreecommitdiffstats
path: root/src/PlaylistGlobal.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/PlaylistGlobal.cxx')
-rw-r--r--src/PlaylistGlobal.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/PlaylistGlobal.cxx b/src/PlaylistGlobal.cxx
index 91c571b6f..d9685a2be 100644
--- a/src/PlaylistGlobal.cxx
+++ b/src/PlaylistGlobal.cxx
@@ -45,9 +45,9 @@ playlist_event(void)
}
void
-playlist_global_init(void)
+playlist_global_init(unsigned max_length)
{
- playlist_init(&g_playlist);
+ playlist_init(&g_playlist, max_length);
event_pipe_register(PIPE_EVENT_TAG, playlist_tag_event);
event_pipe_register(PIPE_EVENT_PLAYLIST, playlist_event);