diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2006-12-22 18:37:07 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2006-12-22 18:37:07 +0000 |
commit | 4cccc03768ecde58e8acd5e4f40e51227e3c14cc (patch) | |
tree | 1d9ac9a483f4ca245fff9925c30a7f842d9b51ca /archival/gzip.c | |
parent | a6df5907d273f0fe067e82c60391d6bf9a02dd4b (diff) | |
download | busybox-w32-4cccc03768ecde58e8acd5e4f40e51227e3c14cc.tar.gz busybox-w32-4cccc03768ecde58e8acd5e4f40e51227e3c14cc.tar.bz2 busybox-w32-4cccc03768ecde58e8acd5e4f40e51227e3c14cc.zip |
remove useless casts (type*) xzalloc(...)
Diffstat (limited to 'archival/gzip.c')
-rw-r--r-- | archival/gzip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/archival/gzip.c b/archival/gzip.c index 5966c08e4..f4aea3f59 100644 --- a/archival/gzip.c +++ b/archival/gzip.c | |||
@@ -92,7 +92,7 @@ typedef unsigned long ulg; | |||
92 | 92 | ||
93 | # define DECLARE(type, array, size) static type * array | 93 | # define DECLARE(type, array, size) static type * array |
94 | # define ALLOC(type, array, size) { \ | 94 | # define ALLOC(type, array, size) { \ |
95 | array = (type*)xzalloc((size_t)(((size)+1L)/2) * 2*sizeof(type)); \ | 95 | array = xzalloc((size_t)(((size)+1L)/2) * 2*sizeof(type)); \ |
96 | } | 96 | } |
97 | # define FREE(array) {free(array), array=NULL;} | 97 | # define FREE(array) {free(array), array=NULL;} |
98 | 98 | ||