mirror of
https://github.com/Rockbox/rockbox.git
synced 2026-07-10 13:29:52 -04:00
playlist_viewer: Use 'NULL' instead of '0' when calling playlist_viewer_init
For some reason this resolves an apparently-unrelated warning about a const violation inside playlist_viewer_init(). Change-Id: Ifd4eb008335876707abe64da04a3afd0d1c46633
This commit is contained in:
parent
39497d1c74
commit
d97e4425c6
1 changed files with 1 additions and 1 deletions
|
|
@ -1291,7 +1291,7 @@ bool search_playlist(void)
|
|||
struct gui_synclist playlist_lists;
|
||||
struct playlist_track_info track;
|
||||
|
||||
if (!playlist_viewer_init(&viewer, 0, false, NULL))
|
||||
if (!playlist_viewer_init(&viewer, NULL, false, NULL))
|
||||
return ret;
|
||||
if (kbd_input(search_str, sizeof(search_str), NULL) < 0)
|
||||
return ret;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue