diff --git a/tools/perf/util/hist.c b/tools/perf/util/hist.c index e1e94b44d58889ff336a28cbc86ce6152cd1e75b..918260b65c6025cb0be5ee68235606d1767bda3c 100644 --- a/tools/perf/util/hist.c +++ b/tools/perf/util/hist.c @@ -1508,7 +1508,7 @@ int hists__collapse_resort(struct hists *hists, struct ui_progress *prog) return 0; } -static int hist_entry__sort(struct hist_entry *a, struct hist_entry *b) +static int64_t hist_entry__sort(struct hist_entry *a, struct hist_entry *b) { struct hists *hists = a->hists; struct perf_hpp_fmt *fmt;