diff options
Diffstat (limited to 'src/queue.cpp')
| -rw-r--r-- | src/queue.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/queue.cpp b/src/queue.cpp index 296a21ba3..7087af03e 100644 --- a/src/queue.cpp +++ b/src/queue.cpp @@ -28,7 +28,7 @@ struct MPMCQueue { template <typename T> void mpmc_init(MPMCQueue<T> *q, gbAllocator a, isize size) { - size = next_pow2(size); + size = next_pow2_isize(size); GB_ASSERT(gb_is_power_of_two(size)); gb_mutex_init(&q->mutex); |