aboutsummaryrefslogtreecommitdiff
path: root/toys/posix/ls.c
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2012-11-26 23:36:25 -0600
committerRob Landley <rob@landley.net>2012-11-26 23:36:25 -0600
commita5f8c733d478a57ad03c0b0efe7fa995e4c364a2 (patch)
treed29ba5be6ee944e8510e97dea1a79e5af73431ab /toys/posix/ls.c
parent9f8217ce73762c0ac4eea8e7ab2120ca6eb1361d (diff)
downloadtoybox-a5f8c733d478a57ad03c0b0efe7fa995e4c364a2.tar.gz
Squash "type punned pointer" nonsense with a bigger hammer. (Sheesh.)
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);
}