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