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/gzip.c | |
parent | a6df5907d273f0fe067e82c60391d6bf9a02dd4b (diff) | |
download | busybox-4cccc03768ecde58e8acd5e4f40e51227e3c14cc.zip busybox-4cccc03768ecde58e8acd5e4f40e51227e3c14cc.tar.gz |
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 5966c08..f4aea3f 100644 --- a/archival/gzip.c +++ b/archival/gzip.c @@ -92,7 +92,7 @@ typedef unsigned long ulg; # define DECLARE(type, array, size) static type * array # define ALLOC(type, array, size) { \ - array = (type*)xzalloc((size_t)(((size)+1L)/2) * 2*sizeof(type)); \ + array = xzalloc((size_t)(((size)+1L)/2) * 2*sizeof(type)); \ } # define FREE(array) {free(array), array=NULL;} |