Address minor code style violation in unsigned suffix (#22306)

This commit is contained in:
Aaron van Geffen authored and GitHub committed 2024-07-15 21:16:30 +02:00
1 parent cfa507350b
commit 6de514c387
10 files changed
+48 -48

No files matched your search

+1 -1
View File
@@ -1634,7 +1634,7 @@ IntervalHandle ScriptEngine::AllocateHandle()
const auto nextHandle = _nextIntervalHandle;
// In case of overflow start from 1 again
_nextIntervalHandle = std::max(_nextIntervalHandle + 1U, 1U);
_nextIntervalHandle = std::max(_nextIntervalHandle + 1u, 1u);
return nextHandle;
}