remove useless casts (type*) xzalloc(...)

This commit is contained in:
Denis Vlasenko
2006-12-22 18:37:07 +00:00
parent a6df5907d2
commit 4cccc03768
7 changed files with 13 additions and 16 deletions

View File

@@ -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;}