diff --git a/include/ck_ring.h b/include/ck_ring.h index 295f810..8a2a791 100644 --- a/include/ck_ring.h +++ b/include/ck_ring.h @@ -434,7 +434,7 @@ ck_ring_enqueue_mpsc(struct ck_ring *ring, const void *entry) { - return _ck_ring_enqueue_mp(ring, buffer, entry, + return _ck_ring_enqueue_mp(ring, buffer, &entry, sizeof(entry), NULL); }