summaryrefslogtreecommitdiff
path: root/src/libdatastruct/genset_deepfree.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libdatastruct/genset_deepfree.c')
-rw-r--r--src/libdatastruct/genset_deepfree.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libdatastruct/genset_deepfree.c b/src/libdatastruct/genset_deepfree.c
index c58a5f9..7b4a728 100644
--- a/src/libdatastruct/genset_deepfree.c
+++ b/src/libdatastruct/genset_deepfree.c
@@ -3,10 +3,10 @@
#include <skalibs/functypes.h>
#include <skalibs/genset.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 ;
}