chore(cpn): Fix compiler warnings when building (#3383)

* Fix build warnings.

* Rename 'flags' function.
This commit is contained in:
philmoz
2023-05-15 11:24:54 +10:00
committed by GitHub
parent 54483e6c4e
commit d29317ecd0
9 changed files with 11 additions and 14 deletions
+1 -1
View File
@@ -560,7 +560,7 @@ const bool UpdateInterface::isReleaseLatest()
const bool UpdateInterface::isSettingsIndexValid() const
{
return m_id > -1 && m_id < MAX_COMPONENTS;
return (int)m_id > -1 && (int)m_id < MAX_COMPONENTS;
}
const bool UpdateInterface::isUpdateAvailable()