mirror of
https://github.com/jarun/nnn.git
synced 2025-03-18 20:39:45 +00:00
No need for cast in qsort callback
This commit is contained in:
parent
98e06fc739
commit
d909de605c
1 changed files with 1 additions and 4 deletions
5
noice.c
5
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;
|
||||
|
|
Loading…
Add table
Reference in a new issue