aboutsummaryrefslogtreecommitdiffstats
path: root/enrealloc.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--enrealloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/enrealloc.c b/enrealloc.c
index 878674c..b27cb18 100644
--- a/enrealloc.c
+++ b/enrealloc.c
@@ -6,7 +6,7 @@
void *
libsimple_enrealloc(int status, void *ptr, size_t n)
{
- char *ret = realloc(ptr, n);
+ void *ret = realloc(ptr, n);
if (!ret)
enprintf(status, "realloc:");
return ret;