From 44772d243e59ac67c87cdf16592a201fd2161704 Mon Sep 17 00:00:00 2001 From: Christian Hergert Date: Wed, 5 Jun 2019 19:30:15 -0700 Subject: [PATCH] libsysprof-capture: fix comparison of translation item --- src/libsysprof-capture/sysprof-capture-writer-cat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libsysprof-capture/sysprof-capture-writer-cat.c b/src/libsysprof-capture/sysprof-capture-writer-cat.c index 092bfdda..54523c57 100644 --- a/src/libsysprof-capture/sysprof-capture-writer-cat.c +++ b/src/libsysprof-capture/sysprof-capture-writer-cat.c @@ -87,7 +87,7 @@ compare_by_src (gconstpointer a, gconstpointer b) { const TranslateItem *itema = a; - const TranslateItem *itemb = a; + const TranslateItem *itemb = b; if (itema->src < itemb->src) return -1;