1
1
mirror of https://github.com/jarun/nnn.git synced 2024-11-11 14:44:20 +03:00

No need for cast in qsort callback

This commit is contained in:
sin 2016-02-08 16:44:39 +00:00
parent 98e06fc739
commit d909de605c

View File

@ -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;