noice

small file browser
git clone git://git.2f30.org/noice
Log | Files | Refs | README | LICENSE

commit d909de605c133037b72b4cfbcd34e83b130aa55c
parent 98e06fc7399661c89b1eebdba0bcbb22ff706334
Author: sin <sin@2f30.org>
Date:   Mon,  8 Feb 2016 16:44:39 +0000

No need for cast in qsort callback

Diffstat:
Mnoice.c | 5+----
1 file changed, 1 insertion(+), 4 deletions(-)

diff --git 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;