mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-23 07:57:51 -05:00
fix signed unsigned mismatch warning
This commit is contained in:
parent
511938fe1c
commit
f7bfa21e51
1 changed files with 1 additions and 1 deletions
|
@ -1120,7 +1120,7 @@ class EditorPauseLayer : CCBlockLayer, FLAlertLayerProtocol {
|
|||
if (!EditorUI::get()) return nullptr;
|
||||
|
||||
auto editor = LevelEditorLayer::get();
|
||||
for (auto i = 0; i < editor->getChildrenCount(); ++i) {
|
||||
for (auto i = 0u; i < editor->getChildrenCount(); ++i) {
|
||||
if (auto layer = cast::safe_cast<EditorPauseLayer*>(editor->getChildren()->objectAtIndex(i))) {
|
||||
return layer;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue