1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-06 06:32:56 +01:00

Fix win32 builds

This commit is contained in:
Ted John
2022-09-18 18:07:34 +01:00
parent 67f654deb6
commit edb37a9fba

View File

@@ -110,9 +110,9 @@ public:
if (index < 0 || static_cast<size_t>(index) >= GetNumAssetPacks())
return;
if (_selectedIndex != index)
if (_selectedIndex != static_cast<size_t>(index))
{
_selectedIndex = index;
_selectedIndex = static_cast<size_t>(index);
Invalidate();
}
}
@@ -123,9 +123,9 @@ public:
if (index < 0 || static_cast<size_t>(index) >= GetNumAssetPacks())
return;
if (_highlightedIndex != index)
if (_highlightedIndex != static_cast<size_t>(index))
{
_highlightedIndex = index;
_highlightedIndex = static_cast<size_t>(index);
Invalidate();
}
}