summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2003-05-27 20:13:13 +0000
committerEric Andersen <andersen@codepoet.org>2003-05-27 20:13:13 +0000
commit78c6b3eb88f72a00cc4f290d9d5ecc40e905c063 (patch)
treef7b813919a4fc5a9b18874ed23a4538a350eb44f
parent26c58a51818b36d94421da32c073536ab6693fd6 (diff)
grr. It's a void *, not a char *.
-rw-r--r--include/stdlib.h2
1 files changed, 1 insertions, 1 deletions
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++;