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:
Solomon Peachy 2026-05-17 16:43:53 -04:00
parent 39497d1c74
commit d97e4425c6

View file

@ -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;