From: Mathieu Desnoyers Date: Fri, 7 Jun 2013 13:30:45 +0000 (-0400) Subject: rcuja: cleanup X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=53f943b0e6c87e60283248a099f70d43ce418116;p=userspace-rcu.git rcuja: cleanup Signed-off-by: Mathieu Desnoyers --- diff --git a/rcuja/rcuja.c b/rcuja/rcuja.c index ef7619b..364570e 100644 --- a/rcuja/rcuja.c +++ b/rcuja/rcuja.c @@ -582,7 +582,7 @@ struct cds_ja_inode_flag *ja_pigeon_node_get_direction(const struct cds_ja_type if (child_node_flag) { dbg_printf("ja_pigeon_node_get_left child_node_flag %p\n", child_node_flag); - *result_key = i; + *result_key = (uint8_t) i; return child_node_flag; } } @@ -594,7 +594,7 @@ struct cds_ja_inode_flag *ja_pigeon_node_get_direction(const struct cds_ja_type if (child_node_flag) { dbg_printf("ja_pigeon_node_get_right child_node_flag %p\n", child_node_flag); - *result_key = i; + *result_key = (uint8_t) i; return child_node_flag; } }