aboutsummaryrefslogtreecommitdiff
path: root/src/queue.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/queue.cpp')
-rw-r--r--src/queue.cpp2
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);