From: Mathieu Desnoyers Date: Sat, 5 Mar 2016 15:09:33 +0000 (-0500) Subject: Fix: CDS_WFCQ_WOULDBLOCK typing for c++ X-Git-Tag: v0.9.2~2 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=154e995922f36f7e4b4bdb0ca820727ad34d84a1;p=userspace-rcu.git Fix: CDS_WFCQ_WOULDBLOCK typing for c++ Reviewed-by: Paul E. McKenney Tested-by: Paul E. McKenney Signed-off-by: Mathieu Desnoyers --- 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,