From 4d11c808ddaa187e8c16f2c855854dd3369192f2 Mon Sep 17 00:00:00 2001 From: Tollef Fog Heen Date: Sun, 20 Jul 2008 19:18:10 +0200 Subject: [PATCH] Fix typo in inv_alphasort prototype --- src/filters.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/filters.c b/src/filters.c index c4e4040d..b09ff557 100644 --- a/src/filters.c +++ b/src/filters.c @@ -90,7 +90,7 @@ loadfilter(const char *fn) ohshite(_("error closing configuration file '%.255s'"), fn); } -static int inv_alphasort(const void *a, const void *a) { +static int inv_alphasort(const void *a, const void *b) { return -1 * strcoll((char*)a, (char*) b); } -- 2.39.5