summaryrefslogtreecommitdiffhomepage
path: root/include/stc/priv
diff options
context:
space:
mode:
Diffstat (limited to 'include/stc/priv')
-rw-r--r--include/stc/priv/cqueue_imp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/stc/priv/cqueue_imp.h b/include/stc/priv/cqueue_imp.h
index 2ad9c811..18c1bb15 100644
--- a/include/stc/priv/cqueue_imp.h
+++ b/include/stc/priv/cqueue_imp.h
@@ -54,7 +54,7 @@ STC_DEF bool
_cx_MEMB(_reserve)(_cx_Self* self, const intptr_t n) {
if (n <= self->capmask)
return true;
- intptr_t oldcap = self->capmask + 1, newcap = cnextpow2(n + 1);
+ intptr_t oldcap = self->capmask + 1, newcap = stc_nextpow2(n + 1);
_cx_value* d = (_cx_value *)i_realloc(self->data, newcap*c_sizeof *self->data);
if (!d)
return false;