diff --git a/src/gui/timerlist.cpp b/src/gui/timerlist.cpp index 346363342..4a49cff69 100644 --- a/src/gui/timerlist.cpp +++ b/src/gui/timerlist.cpp @@ -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] = {