From ed70da26bd02ad50b9a7e4d1297cb4e7e43be6d4 Mon Sep 17 00:00:00 2001 From: Marcoen Hirschberg Date: Fri, 11 Aug 2006 11:35:26 +0000 Subject: don't assign NULL to a long (fixes sim build warnings) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10526 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/lib/playback_control.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'apps/plugins/lib/playback_control.c') diff --git a/apps/plugins/lib/playback_control.c b/apps/plugins/lib/playback_control.c index e034ecf120..35a2b92b51 100644 --- a/apps/plugins/lib/playback_control.c +++ b/apps/plugins/lib/playback_control.c @@ -57,8 +57,8 @@ static bool volume(void) static bool shuffle(void) { struct opt_items names[] = { - {"No", NULL}, - {"Yes", NULL} + {"No", 0}, + {"Yes", 0} }; return api->set_option("Shuffle", &api->global_settings->playlist_shuffle, BOOL, names, 2,NULL); @@ -68,12 +68,12 @@ static bool repeat_mode(void) { bool result; static const struct opt_items names[] = { - { "Off", NULL }, - { "Repeat All", NULL }, - { "Repeat One", NULL }, - { "Repeat Shuffle", NULL }, + { "Off", 0 }, + { "Repeat All", 0 }, + { "Repeat One", 0 }, + { "Repeat Shuffle", 0 }, #ifdef AB_REPEAT_ENABLE - { "Repeat A-B", NULL } + { "Repeat A-B", 0 } #endif }; -- cgit v1.2.3