forked from rosebudai/OpenRCT2-Web
Address minor code style violation in unsigned suffix (#22306)
This commit is contained in:
1 parent
cfa507350b
commit
6de514c387
10 files changed
+48
-48
No files matched your search
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user