From: Mathieu Desnoyers Date: Thu, 6 Jun 2013 19:04:24 +0000 (-0400) Subject: rcuja fix: pointer type warning X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=0c0113e0204bc74c13229721f70fc991ce0f7f04;p=urcu.git rcuja fix: pointer type warning Signed-off-by: Mathieu Desnoyers --- diff --git a/rcuja/rcuja-internal.h b/rcuja/rcuja-internal.h index 202f168..d4bc32e 100644 --- a/rcuja/rcuja-internal.h +++ b/rcuja/rcuja-internal.h @@ -165,7 +165,7 @@ struct cds_ja_inode *ja_node_ptr(struct cds_ja_inode_flag *node) v &= JA_PTR_MASK; break; } - return (struct cds_ja_node *) v; + return (struct cds_ja_inode *) v; } __attribute__((visibility("protected")))