diff --git a/noice.c b/noice.c index 6194062c..d1b3b82f 100644 --- a/noice.c +++ b/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;