1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 04:17:35 +00:00

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

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