diff options
Diffstat (limited to 'src/or/rephist.c')
-rw-r--r-- | src/or/rephist.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/rephist.c b/src/or/rephist.c index a1f3147175..236cbabf30 100644 --- a/src/or/rephist.c +++ b/src/or/rephist.c @@ -1983,7 +1983,8 @@ rep_hist_exit_stats_term(void) /** Helper for qsort: compare two ints. */ static int -_compare_int(const void *x, const void *y) { +_compare_int(const void *x, const void *y) +{ return (*(int*)x - *(int*)y); } |