summaryrefslogtreecommitdiff
path: root/archival/gzip.c
diff options
context:
space:
mode:
authorDenis Vlasenko2006-12-22 18:37:07 +0000
committerDenis Vlasenko2006-12-22 18:37:07 +0000
commit4cccc03768ecde58e8acd5e4f40e51227e3c14cc (patch)
tree1d9ac9a483f4ca245fff9925c30a7f842d9b51ca /archival/gzip.c
parenta6df5907d273f0fe067e82c60391d6bf9a02dd4b (diff)
downloadbusybox-4cccc03768ecde58e8acd5e4f40e51227e3c14cc.zip
busybox-4cccc03768ecde58e8acd5e4f40e51227e3c14cc.tar.gz
remove useless casts (type*) xzalloc(...)
Diffstat (limited to 'archival/gzip.c')
-rw-r--r--archival/gzip.c2
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;}