From d909de605c133037b72b4cfbcd34e83b130aa55c Mon Sep 17 00:00:00 2001 From: sin Date: Mon, 8 Feb 2016 16:44:39 +0000 Subject: [PATCH] No need for cast in qsort callback --- noice.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/noice.c b/noice.c index 6194062c..d1b3b82f 100644 --- a/noice.c +++ b/noice.c @@ -251,10 +251,7 @@ visible(regex_t *regex, char *file) int entrycmp(const void *va, const void *vb) { - const struct entry *a, *b; - - a = (struct entry *)va; - b = (struct entry *)vb; + const struct entry *a = va, *b = vb; if (mtimeorder) return b->t - a->t;