summaryrefslogtreecommitdiff
path: root/src/libstddjb/stralloc_ready_tuned.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstddjb/stralloc_ready_tuned.c')
-rw-r--r--src/libstddjb/stralloc_ready_tuned.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstddjb/stralloc_ready_tuned.c b/src/libstddjb/stralloc_ready_tuned.c
index f292f22..d365d6e 100644
--- a/src/libstddjb/stralloc_ready_tuned.c
+++ b/src/libstddjb/stralloc_ready_tuned.c
@@ -19,7 +19,7 @@ int stralloc_ready_tuned (stralloc *sa, size_t n, size_t base, size_t a, size_t
}
else if (n > sa->a)
{
- if (!alloc_re((void **)&sa->s, sa->a, t)) return 0 ;
+ if (!alloc_re(&sa->s, sa->a, t)) return 0 ;
sa->a = t ;
}
return 1 ;