diff options
| author | 2016-02-08 16:44:39 +0000 | |
|---|---|---|
| committer | 2016-02-08 16:46:14 +0000 | |
| commit | d909de605c133037b72b4cfbcd34e83b130aa55c (patch) | |
| tree | d7d64419dd33bcab7a65fb488b692da926aa823f | |
| parent | 98e06fc7399661c89b1eebdba0bcbb22ff706334 (diff) | |
| download | nnn-d909de605c133037b72b4cfbcd34e83b130aa55c.tar.gz | |
No need for cast in qsort callback
| -rw-r--r-- | noice.c | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -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; |