diff options
Diffstat (limited to 'apps/playlist.c')
-rw-r--r-- | apps/playlist.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/playlist.c b/apps/playlist.c index b70fdc8a1f..1e96ebf46b 100644 --- a/apps/playlist.c +++ b/apps/playlist.c | |||
@@ -1214,8 +1214,9 @@ static int compare(const void* p1, const void* p2) | |||
1214 | * without affecting playlist load up performance. This thread also flushes | 1214 | * without affecting playlist load up performance. This thread also flushes |
1215 | * any pending control commands when the disk spins up. | 1215 | * any pending control commands when the disk spins up. |
1216 | */ | 1216 | */ |
1217 | static bool playlist_flush_callback(void) | 1217 | static void playlist_flush_callback(void *param) |
1218 | { | 1218 | { |
1219 | (void)param; | ||
1219 | struct playlist_info *playlist; | 1220 | struct playlist_info *playlist; |
1220 | playlist = ¤t_playlist; | 1221 | playlist = ¤t_playlist; |
1221 | if (playlist->control_fd >= 0) | 1222 | if (playlist->control_fd >= 0) |
@@ -1228,7 +1229,6 @@ static bool playlist_flush_callback(void) | |||
1228 | } | 1229 | } |
1229 | sync_control(playlist, true); | 1230 | sync_control(playlist, true); |
1230 | } | 1231 | } |
1231 | return true; | ||
1232 | } | 1232 | } |
1233 | 1233 | ||
1234 | static void playlist_thread(void) | 1234 | static void playlist_thread(void) |