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.10.0~52 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=0b73c81945fe88ff1c44a24d947851e30009c643;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,