mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 01:11:12 +02:00
vfd: fix signed-unsigned comparison warning
This commit is contained in:
@@ -709,7 +709,7 @@ void CVFD::ShowText(const char * str)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (g_settings.lcd_scroll && (strlen(str) > g_info.hw_caps->display_xres))
|
if (g_settings.lcd_scroll && ((int)strlen(str) > g_info.hw_caps->display_xres))
|
||||||
flags[0] |= FP_FLAG_SCROLL_ON | FP_FLAG_SCROLL_SIO | FP_FLAG_SCROLL_DELAY;
|
flags[0] |= FP_FLAG_SCROLL_ON | FP_FLAG_SCROLL_SIO | FP_FLAG_SCROLL_DELAY;
|
||||||
|
|
||||||
std::string txt = std::string(flags) + str;
|
std::string txt = std::string(flags) + str;
|
||||||
|
Reference in New Issue
Block a user