mirror of
https://github.com/JulianGro/overte.git
synced 2025-08-10 00:01:33 +02:00
Fix signed unsigned compare warning
This commit is contained in:
parent
9772fc4e22
commit
17f9a01fa2
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ void Space::processResets(const Transaction::Resets& transactions) {
|
||||||
auto proxyID = std::get<0>(reset);
|
auto proxyID = std::get<0>(reset);
|
||||||
|
|
||||||
// Guard against proxyID being past the end of the list.
|
// Guard against proxyID being past the end of the list.
|
||||||
if (proxyID >= _proxies.size() || proxyID >= _owners.size()) {
|
if (proxyID < 0 || proxyID >= (int32_t)_proxies.size() || proxyID >= (int32_t)_owners.size()) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
auto& item = _proxies[proxyID];
|
auto& item = _proxies[proxyID];
|
||||||
|
|
Loading…
Reference in a new issue