From a736cc86a3079b8034d992dd0fb9cf244ec700e2 Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Thu, 21 Oct 2021 18:57:35 +0200 Subject: [PATCH] cc_frm_window.cpp: fix type conversion Wconversion Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/eca02865c087c7a794a4804b1849cd9dc3125d1c Author: Thilo Graf Date: 2021-10-21 (Thu, 21 Oct 2021) --- src/gui/components/cc_frm_window.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/components/cc_frm_window.cpp b/src/gui/components/cc_frm_window.cpp index 2e298b8bd..f329f6aac 100644 --- a/src/gui/components/cc_frm_window.cpp +++ b/src/gui/components/cc_frm_window.cpp @@ -422,7 +422,7 @@ uint8_t CComponentsWindow::getCurrentPage() bool CComponentsWindow::isPageChanged() { for(size_t i=0; isize(); i++){ - if (ccw_body->getCCItem(i)->getPageNumber() != getCurrentPage()) + if ((uint8_t)ccw_body->getCCItem(i)->getPageNumber() != getCurrentPage()) return true; } return false;