summaryrefslogtreecommitdiff
path: root/src/libdatastruct/gensetdyn_deepfree.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libdatastruct/gensetdyn_deepfree.c')
-rw-r--r--src/libdatastruct/gensetdyn_deepfree.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libdatastruct/gensetdyn_deepfree.c b/src/libdatastruct/gensetdyn_deepfree.c
index 2b0c87c..623120f 100644
--- a/src/libdatastruct/gensetdyn_deepfree.c
+++ b/src/libdatastruct/gensetdyn_deepfree.c
@@ -3,10 +3,10 @@
#include <skalibs/functypes.h>
#include <skalibs/gensetdyn.h>
-static int freeiter (char *s, void *aux)
+static int freeiter (void *s, void *aux)
{
free_func_ref f = aux ;
- (*f)((void *)s) ;
+ (*f)(s) ;
return 1 ;
}