aboutsummaryrefslogtreecommitdiff
path: root/toys/posix/ls.c
diff options
context:
space:
mode:
Diffstat (limited to 'toys/posix/ls.c')
-rw-r--r--toys/posix/ls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/posix/ls.c b/toys/posix/ls.c
index 55de239f..fb45636b 100644
--- a/toys/posix/ls.c
+++ b/toys/posix/ls.c
@@ -445,7 +445,7 @@ void ls_main(void)
}
// Typecast means double_list->prev temporarirly goes in dirtree->parent
- dlist_add_nomalloc((struct double_list **)&TT.files->child,
+ dlist_add_nomalloc((void *)&TT.files->child,
(struct double_list *)dt);
}