Skip to content

Commit

Permalink
ProfileViewer: Unbreak after Vector size_t changes
Browse files Browse the repository at this point in the history
Another backwards iteration accident.
  • Loading branch information
awesomekling committed Feb 29, 2020
1 parent d61359a commit 79e06e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DevTools/ProfileViewer/Profile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ void Profile::rebuild_tree()
break;
}
} else {
for (size_t i = sample.frames.size() - 1; i >= 0; --i) {
for (ssize_t i = sample.frames.size() - 1; i >= 0; --i) {
if (callback(sample.frames.at(i)) == IterationDecision::Break)
break;
}
Expand Down

0 comments on commit 79e06e8

Please sign in to comment.