From: Nick Mathewson Date: Mon, 3 Jan 2011 16:59:47 +0000 (-0500) Subject: Fix a function formatting warning in rephist.c X-Git-Tag: tor-0.2.3.1-alpha~203^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=40ef9087cf7960ce00cd82aa49309f47c9eb064c;p=thirdparty%2Ftor.git Fix a function formatting warning in rephist.c --- diff --git a/src/or/rephist.c b/src/or/rephist.c index baedc132a6..d85a8b7c3a 100644 --- a/src/or/rephist.c +++ b/src/or/rephist.c @@ -1996,7 +1996,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); }