From fbafa13b3d3579ddf92481dd458ce0cea660529e Mon Sep 17 00:00:00 2001 From: Evil Eye Date: Sat, 14 Oct 2023 17:01:55 +0200 Subject: [PATCH] Appease the compiler --- apps/opencs/model/world/nestedcoladapterimp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/opencs/model/world/nestedcoladapterimp.cpp b/apps/opencs/model/world/nestedcoladapterimp.cpp index 1f9958e84e..b96cf46465 100644 --- a/apps/opencs/model/world/nestedcoladapterimp.cpp +++ b/apps/opencs/model/world/nestedcoladapterimp.cpp @@ -1076,7 +1076,7 @@ namespace CSMWorld } else if (subColIndex == 1) { - if (subRowIndex >= 0 && subRowIndex < region.mData.mProbabilities.size()) + if (subRowIndex >= 0 && static_cast(subRowIndex) < region.mData.mProbabilities.size()) return region.mData.mProbabilities[subRowIndex]; }