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
1 changed files with 1 additions and 4 deletions

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;