aboutsummaryrefslogtreecommitdiffstats
path: root/enrealloc.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2018-11-29 21:25:44 +0100
committerMattias Andrée <maandree@kth.se>2018-11-29 21:25:44 +0100
commita2fc726a6225ceb94dba367cf5acfe597ce11d74 (patch)
tree7e6f705a9160b9bdad8f32463284009085dc7254 /enrealloc.c
parentm (diff)
downloadlibsimple-a2fc726a6225ceb94dba367cf5acfe597ce11d74.tar.gz
libsimple-a2fc726a6225ceb94dba367cf5acfe597ce11d74.tar.bz2
libsimple-a2fc726a6225ceb94dba367cf5acfe597ce11d74.tar.xz
A bunch of stuff
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'enrealloc.c')
-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;