From 1b0087ae8ca179df3a55922c92670c80a891b3b9 Mon Sep 17 00:00:00 2001 From: Ash Tyndall Date: Sat, 8 Oct 2011 14:33:14 +0800 Subject: [PATCH] --- scene.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scene.c b/scene.c index e72b414..c9820a2 100644 --- a/scene.c +++ b/scene.c @@ -246,7 +246,7 @@ void processLightEvents(int id) { } -int makeSubmenuFromArray( const char menuEntries[], void *callback ) { +int makeSubmenuFromArray( const char *menuEntries, void *callback ) { int menuEntriesSize = sizeof(menuEntries) / sizeof(menuEntries[0]); int menuNumber = menuEntriesSize / 10 + 1; int submenuObjects[menuNumber-1]; -- 2.20.1