From 4cccc03768ecde58e8acd5e4f40e51227e3c14cc Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Fri, 22 Dec 2006 18:37:07 +0000 Subject: remove useless casts (type*) xzalloc(...) --- archival/gzip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'archival/gzip.c') 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; # 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;} -- cgit v1.2.3-55-g6feb