From: Ash Tyndall Date: Sat, 8 Oct 2011 06:33:14 +0000 (+0800) Subject: (no commit message) X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=1b0087ae8ca179df3a55922c92670c80a891b3b9;p=atyndall%2Fcits2231.git --- 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];