diff --git a/src/openrct2-ui/windows/RideList.cpp b/src/openrct2-ui/windows/RideList.cpp index 342877d88b..2b440772fe 100644 --- a/src/openrct2-ui/windows/RideList.cpp +++ b/src/openrct2-ui/windows/RideList.cpp @@ -1000,7 +1000,7 @@ namespace OpenRCT2::Ui::Windows break; case INFORMATION_TYPE_SATISFACTION: SortListByPredicate([](const Ride& thisRide, const Ride& otherRide) -> bool { - return thisRide.satisfaction < otherRide.satisfaction; + return static_cast(thisRide.satisfaction) < static_cast(otherRide.satisfaction); }); break; case INFORMATION_TYPE_PROFIT: