diff options
author | Denis Vlasenko | 2006-12-22 18:37:07 +0000 |
---|---|---|
committer | Denis Vlasenko | 2006-12-22 18:37:07 +0000 |
commit | 4cccc03768ecde58e8acd5e4f40e51227e3c14cc (patch) | |
tree | 1d9ac9a483f4ca245fff9925c30a7f842d9b51ca /archival/libunarchive | |
parent | a6df5907d273f0fe067e82c60391d6bf9a02dd4b (diff) | |
download | busybox-4cccc03768ecde58e8acd5e4f40e51227e3c14cc.zip busybox-4cccc03768ecde58e8acd5e4f40e51227e3c14cc.tar.gz |
remove useless casts (type*) xzalloc(...)
Diffstat (limited to 'archival/libunarchive')
-rw-r--r-- | archival/libunarchive/decompress_unzip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/archival/libunarchive/decompress_unzip.c b/archival/libunarchive/decompress_unzip.c index 621d84c..3826260 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 */ |