ProfileViewer: Unbreak after Vector size_t changes

Another backwards iteration accident.
This commit is contained in:
Andreas Kling 2020-02-29 22:06:18 +01:00
parent d61359ae91
commit 79e06e8308
Notes: sideshowbarker 2024-07-19 08:57:56 +09:00

View file

@ -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;
}