summaryrefslogtreecommitdiff
path: root/src/libdatastruct/gensetdyn_free.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libdatastruct/gensetdyn_free.c')
-rw-r--r--src/libdatastruct/gensetdyn_free.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libdatastruct/gensetdyn_free.c b/src/libdatastruct/gensetdyn_free.c
index b0e03ad..56b1fe4 100644
--- a/src/libdatastruct/gensetdyn_free.c
+++ b/src/libdatastruct/gensetdyn_free.c
@@ -1,5 +1,6 @@
/* ISC license. */
+#include <stdint.h>
#include <skalibs/stralloc.h>
#include <skalibs/genalloc.h>
#include <skalibs/gensetdyn.h>
@@ -7,6 +8,6 @@
void gensetdyn_free (gensetdyn *g)
{
stralloc_free(&g->storage) ;
- genalloc_free(unsigned int, &g->freelist) ;
+ genalloc_free(uint32_t, &g->freelist) ;
*g = gensetdyn_zero ;
}