mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 16:01:20 +02:00
timerlist: fix build with GCC 6.2
This commit is contained in:
@@ -573,7 +573,8 @@ struct button_label TimerListButtons[] =
|
||||
{ NEUTRINO_ICON_BUTTON_MENU_SMALL, 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
|
||||
static const struct button_label RemoteBoxFooterButtons[RemoteBoxFooterButtonCount] = {
|
||||
|
Reference in New Issue
Block a user