timerlist: fix build with GCC 6.2

This commit is contained in:
Stefan Seyfried
2016-10-22 12:33:10 +02:00
parent 3684680cb2
commit f632ac5505

View File

@@ -573,7 +573,8 @@ struct button_label TimerListButtons[] =
{ NEUTRINO_ICON_BUTTON_MENU_SMALL, NONEXISTANT_LOCALE }, { NEUTRINO_ICON_BUTTON_MENU_SMALL, NONEXISTANT_LOCALE },
{ NEUTRINO_ICON_BUTTON_PLAY , NONEXISTANT_LOCALE } { NEUTRINO_ICON_BUTTON_PLAY , NONEXISTANT_LOCALE }
}; };
size_t TimerListButtonsCount = sizeof(TimerListButtons)/sizeof(TimerListButtons[0]); // int to match the type in paintButtons
int TimerListButtonsCount = sizeof(TimerListButtons)/sizeof(TimerListButtons[0]);
#define RemoteBoxFooterButtonCount 3 #define RemoteBoxFooterButtonCount 3
static const struct button_label RemoteBoxFooterButtons[RemoteBoxFooterButtonCount] = { static const struct button_label RemoteBoxFooterButtons[RemoteBoxFooterButtonCount] = {