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/rockboy/menu.c | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'apps/plugins/rockboy') diff --git a/apps/plugins/rockboy/menu.c b/apps/plugins/rockboy/menu.c index aa79b5db4b..c87799496a 100644 --- a/apps/plugins/rockboy/menu.c +++ b/apps/plugins/rockboy/menu.c @@ -322,29 +322,29 @@ static void do_opt_menu(void) int result; static const struct opt_items onoff[2] = { - { "Off", NULL }, - { "On" , NULL }, + { "Off", 0 }, + { "On" , 0 }, }; static const struct opt_items fullscreen[]= { - { "Off", NULL }, - { "Fullscreen", NULL }, - { "Full - Maintain Ratio", NULL }, + { "Off", 0 }, + { "Fullscreen", 0 }, + { "Full - Maintain Ratio", 0 }, }; static const struct opt_items frameskip[]= { - { "3 Max", NULL }, - { "4 Max", NULL }, - { "5 Max", NULL }, - { "6 Max", NULL }, + { "3 Max", 0 }, + { "4 Max", 0 }, + { "5 Max", 0 }, + { "6 Max", 0 }, }; static const struct menu_item items[] = { - {"Max Frameskip", NULL }, - {"Sound" , NULL }, - {"Stats" , NULL }, - {"Fullscreen" , NULL }, - {"Set Keys (Buggy)", NULL }, + {"Max Frameskip", 0 }, + {"Sound" , 0 }, + {"Stats" , 0 }, + {"Fullscreen" , 0 }, + {"Set Keys (Buggy)", 0 }, }; m = rb->menu_init(items, sizeof(items) / sizeof(*items), NULL, NULL, NULL, NULL); -- cgit v1.2.3