diff options
Diffstat (limited to 'enrealloc.c')
-rw-r--r-- | enrealloc.c | 2 |
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; |