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