cc_frm_window.cpp: fix type conversion

Wconversion


Origin commit data
------------------
Commit: eca02865c0
Author: Thilo Graf <dbt@novatux.de>
Date: 2021-10-21 (Thu, 21 Oct 2021)
This commit is contained in:
2021-10-21 18:57:35 +02:00
committed by vanhofen
parent 1362743a2c
commit a736cc86a3

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;