summaryrefslogtreecommitdiff
path: root/apps/playlist.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/playlist.c')
-rw-r--r--apps/playlist.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/playlist.c b/apps/playlist.c
index ce2818eded..967c84d502 100644
--- a/apps/playlist.c
+++ b/apps/playlist.c
@@ -149,7 +149,7 @@ static int randomise_playlist(struct playlist_info* playlist,
149 bool write); 149 bool write);
150static int sort_playlist(struct playlist_info* playlist, bool start_current, 150static int sort_playlist(struct playlist_info* playlist, bool start_current,
151 bool write); 151 bool write);
152static int get_next_index(struct playlist_info* playlist, int steps, 152static int get_next_index(const struct playlist_info* playlist, int steps,
153 int repeat_mode); 153 int repeat_mode);
154static void find_and_set_playlist_index(struct playlist_info* playlist, 154static void find_and_set_playlist_index(struct playlist_info* playlist,
155 unsigned int seek); 155 unsigned int seek);
@@ -828,7 +828,7 @@ static int sort_playlist(struct playlist_info* playlist, bool start_current,
828 * returns the index of the track that is "steps" away from current playing 828 * returns the index of the track that is "steps" away from current playing
829 * track. 829 * track.
830 */ 830 */
831static int get_next_index(struct playlist_info* playlist, int steps, 831static int get_next_index(const struct playlist_info* playlist, int steps,
832 int repeat_mode) 832 int repeat_mode)
833{ 833{
834 int current_index = playlist->index; 834 int current_index = playlist->index;