aboutsummaryrefslogtreecommitdiffstats
path: root/noice.c
diff options
context:
space:
mode:
Diffstat (limited to 'noice.c')
-rw-r--r--noice.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/noice.c b/noice.c
index 6194062..d1b3b82 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;
Un proyecto texto-plano.xyz