From 79e06e83088311a84058187e955390ee4ba95c32 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Sat, 29 Feb 2020 22:06:18 +0100 Subject: [PATCH] ProfileViewer: Unbreak after Vector size_t changes Another backwards iteration accident. --- DevTools/ProfileViewer/Profile.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DevTools/ProfileViewer/Profile.cpp b/DevTools/ProfileViewer/Profile.cpp index 653bc2960d..1082c2b535 100644 --- a/DevTools/ProfileViewer/Profile.cpp +++ b/DevTools/ProfileViewer/Profile.cpp @@ -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; }