diff --git a/ialloc.c b/ialloc.c index efc505e..e97398b 100644 --- a/ialloc.c +++ b/ialloc.c @@ -31,11 +31,11 @@ const int n; #ifdef MAL register char * result; - result = malloc((alloc_size_t) nonzero(n)); + result = malloc((alloc_size_T) nonzero(n)); return NULLMAL(result) ? NULL : result; #endif /* defined MAL */ #ifndef MAL - return malloc((alloc_size_t) nonzero(n)); + return malloc((alloc_size_T) nonzero(n)); #endif /* !defined MAL */ } @@ -46,7 +46,7 @@ int elsize; { if (nelem == 0 || elsize == 0) nelem = elsize = 1; - return calloc((alloc_size_t) nelem, (alloc_size_t) elsize); + return calloc((alloc_size_T) nelem, (alloc_size_T) elsize); } void * @@ -56,7 +56,7 @@ const int size; { if (NULLMAL(pointer)) return imalloc(size); - return realloc((genericptr_t) pointer, (alloc_size_t) nonzero(size)); + return realloc((genericptr_T) pointer, (alloc_size_T) nonzero(size)); } char *