Browse Source

No need for cast in qsort callback

master
sin 9 years ago
parent
commit
d909de605c
1 changed files with 1 additions and 4 deletions
  1. +1
    -4
      noice.c

+ 1
- 4
noice.c 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;


Loading…
Cancel
Save