cc_frm_window.cpp: fix type conversion

Wconversion
This commit is contained in:
2021-10-21 14:24:01 +02:00
parent da729bfc6e
commit 766a55e566

View File

@@ -422,7 +422,7 @@ uint8_t CComponentsWindow::getCurrentPage()
bool CComponentsWindow::isPageChanged() bool CComponentsWindow::isPageChanged()
{ {
for(size_t i=0; i<ccw_body->size(); i++){ for(size_t i=0; i<ccw_body->size(); i++){
if (ccw_body->getCCItem(i)->getPageNumber() != getCurrentPage()) if ((uint8_t)ccw_body->getCCItem(i)->getPageNumber() != getCurrentPage())
return true; return true;
} }
return false; return false;