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;