From: Tollef Fog Heen Date: Sun, 20 Jul 2008 17:18:10 +0000 (+0200) Subject: Fix typo in inv_alphasort prototype X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4d11c808ddaa187e8c16f2c855854dd3369192f2;p=dpkg Fix typo in inv_alphasort prototype --- 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); }