mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-12 09:20:36 +00:00
ProfileViewer: Unbreak after Vector size_t changes
Another backwards iteration accident.
This commit is contained in:
parent
d61359ae91
commit
79e06e8308
Notes:
sideshowbarker
2024-07-19 08:57:56 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/79e06e83088
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue