summaryrefslogtreecommitdiff
path: root/include/stdlib.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/stdlib.h')
-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++;