Fix end range test
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 2 Jun 2011 15:05:33 +0000 (11:05 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 2 Jun 2011 15:05:33 +0000 (11:05 -0400)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
tests/test_urcu_rbtree.c

index 97f50e0872e0c9d1dd513132c944e0bad12e04a9..85a8d7d0b896c454cda1e8ebf21eb9c7a0e70be5 100644 (file)
@@ -263,7 +263,7 @@ void *thr_reader(void *_count)
                        rcu_read_lock();
                        node = rcu_rbtree_search(&rbtree,
                                                 rcu_dereference(rbtree.root),
-                                                (void*) ((unsigned long) global_key[i] + 3));
+                                                (void*) ((unsigned long) global_key[i] + 2));
                        assert(!rcu_rbtree_is_nil(&rbtree, node));
                        rcu_read_unlock();
                }
This page took 0.025476 seconds and 4 git commands to generate.