aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/alcRing.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/alcRing.c')
-rw-r--r--Alc/alcRing.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/alcRing.c b/Alc/alcRing.c
index 8a77dda1..d3059f86 100644
--- a/Alc/alcRing.c
+++ b/Alc/alcRing.c
@@ -233,13 +233,13 @@ size_t ll_ringbuffer_write(ll_ringbuffer_t *rb, const char *src, size_t cnt)
/* Advance the read pointer `cnt' places. */
void ll_ringbuffer_read_advance(ll_ringbuffer_t *rb, size_t cnt)
{
- ATOMIC_ADD(size_t, &rb->read_ptr, cnt, almemory_order_acq_rel);
+ ATOMIC_ADD(&rb->read_ptr, cnt, almemory_order_acq_rel);
}
/* Advance the write pointer `cnt' places. */
void ll_ringbuffer_write_advance(ll_ringbuffer_t *rb, size_t cnt)
{
- ATOMIC_ADD(size_t, &rb->write_ptr, cnt, almemory_order_acq_rel);
+ ATOMIC_ADD(&rb->write_ptr, cnt, almemory_order_acq_rel);
}
/* The non-copying data reader. `vec' is an array of two places. Set the values