aboutsummaryrefslogtreecommitdiff
path: root/archival/libunarchive
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2006-12-22 18:37:07 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2006-12-22 18:37:07 +0000
commit4cccc03768ecde58e8acd5e4f40e51227e3c14cc (patch)
tree1d9ac9a483f4ca245fff9925c30a7f842d9b51ca /archival/libunarchive
parenta6df5907d273f0fe067e82c60391d6bf9a02dd4b (diff)
downloadbusybox-4cccc03768ecde58e8acd5e4f40e51227e3c14cc.tar.gz
remove useless casts (type*) xzalloc(...)
Diffstat (limited to 'archival/libunarchive')
-rw-r--r--archival/libunarchive/decompress_unzip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/archival/libunarchive/decompress_unzip.c b/archival/libunarchive/decompress_unzip.c
index 621d84c2d..38262608d 100644
--- a/archival/libunarchive/decompress_unzip.c
+++ b/archival/libunarchive/decompress_unzip.c
@@ -275,7 +275,7 @@ int huft_build(unsigned int *b, const unsigned int n,
ws[htl+1] = w + j; /* set bits decoded in stack */
/* allocate and link in new table */
- q = (huft_t *) xzalloc((z + 1) * sizeof(huft_t));
+ q = xzalloc((z + 1) * sizeof(huft_t));
*t = q + 1; /* link to list for huft_free() */
t = &(q->v.t);
u[htl] = ++q; /* table starts after link */