cellCamera: fix compilation on linux

This commit is contained in:
Megamouse 2021-10-22 01:56:03 +02:00
parent 60d35e17ac
commit e67cf68321
5 changed files with 17 additions and 15 deletions

View file

@ -311,7 +311,7 @@ void qt_camera_handler::update_camera_settings()
}
for (const QSize& resolution : resolutions)
{
if (m_width == resolution.width() && m_height == resolution.height())
if (static_cast<int>(m_width) == resolution.width() && static_cast<int>(m_height) == resolution.height())
{
settings.setResolution(resolution.width(), resolution.height());
break;