mirror of
https://github.com/jarun/nnn.git
synced 2025-02-26 03:01:32 +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
|
int
|
||||||
entrycmp(const void *va, const void *vb)
|
entrycmp(const void *va, const void *vb)
|
||||||
{
|
{
|
||||||
const struct entry *a, *b;
|
const struct entry *a = va, *b = vb;
|
||||||
|
|
||||||
a = (struct entry *)va;
|
|
||||||
b = (struct entry *)vb;
|
|
||||||
|
|
||||||
if (mtimeorder)
|
if (mtimeorder)
|
||||||
return b->t - a->t;
|
return b->t - a->t;
|
||||||
|
|
Loading…
Add table
Reference in a new issue