From 4f01918cbb3a529f54a3d8cb8fd3ea0a1919a445 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=93=81=E5=93=A5?= Date: Thu, 14 Jul 2016 11:11:53 +0800 Subject: [PATCH] Update ck_ring.h fix bug --- include/ck_ring.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }