File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ NodeStatus ReactiveFallback::tick()
28
28
{
29
29
case NodeStatus::RUNNING:
30
30
{
31
- for (int i=index+1 ; i < childrenCount (); i++)
31
+ for (size_t i=index+1 ; i < childrenCount (); i++)
32
32
{
33
33
haltChild (i);
34
34
}
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ NodeStatus ReactiveSequence::tick()
31
31
{
32
32
running_count++;
33
33
34
- for (int i=index+1 ; i < childrenCount (); i++)
34
+ for (size_t i=index+1 ; i < childrenCount (); i++)
35
35
{
36
36
haltChild (i);
37
37
}
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ NodeStatus SequenceStarNode::tick()
43
43
case NodeStatus::FAILURE:
44
44
{
45
45
// DO NOT reset current_child_idx_ on failure
46
- for (int i=current_child_idx_; i < childrenCount (); i++)
46
+ for (size_t i=current_child_idx_; i < childrenCount (); i++)
47
47
{
48
48
haltChild (i);
49
49
}
You can’t perform that action at this time.
0 commit comments