[lttng-dev] [RFC PATCH urcu 1/2] Fix: CDS_WFCQ_WOULDBLOCK typing for c++

Mathieu Desnoyers mathieu.desnoyers at efficios.com
Tue Mar 8 00:33:43 UTC 2016


Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers at efficios.com>
---
 urcu/wfcqueue.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/urcu/wfcqueue.h b/urcu/wfcqueue.h
index 83ec219..c0bb289 100644
--- a/urcu/wfcqueue.h
+++ b/urcu/wfcqueue.h
@@ -43,7 +43,7 @@ extern "C" {
  * McKenney.
  */
 
-#define CDS_WFCQ_WOULDBLOCK	((void *) -1UL)
+#define CDS_WFCQ_WOULDBLOCK	((struct cds_wfcq_node *) -1UL)
 
 enum cds_wfcq_ret {
 	CDS_WFCQ_RET_WOULDBLOCK =	-1,
-- 
2.1.4




More information about the lttng-dev mailing list