rcuja: cleanup
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 7 Jun 2013 13:30:45 +0000 (09:30 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 7 Jun 2013 13:30:45 +0000 (09:30 -0400)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
rcuja/rcuja.c

index ef7619bd3fe6a6a8d62a28abe8917e08f75a964b..364570e81ec9d35dbb589a0e7ab2b1b2821809ac 100644 (file)
@@ -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;
                        }
                }
This page took 0.026648 seconds and 4 git commands to generate.