From 78c6b3eb88f72a00cc4f290d9d5ecc40e905c063 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Tue, 27 May 2003 20:13:13 +0000 Subject: grr. It's a void *, not a char *. --- include/stdlib.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/stdlib.h b/include/stdlib.h index 6de9eedeb..b8b0457d2 100644 --- a/include/stdlib.h +++ b/include/stdlib.h @@ -552,7 +552,7 @@ extern void *calloc (size_t __nmemb, size_t __size) * style returning-a-valid-pointer-for-malloc(0) behavior. This * calls malloc() as usual, but if __size is zero, we allocate and * return a 1-byte block instead.... sigh... */ -static __inline char * rpl_malloc (size_t __size) +static __inline void *rpl_malloc (size_t __size) { if (__size == 0) { __size++; -- cgit v1.2.3