Build and run regression and unit tests as C++ programs
[urcu.git] / tests / regression / test_urcu_fork.c
index 81dbe7742f769fb5b82db701de9cb515c148c60e..db4e81dcf67a36d8750684cc5f025a233a23ed33 100644 (file)
@@ -88,7 +88,7 @@ static void test_rcu(void)
        rcu_read_lock();
        rcu_read_unlock();
 
-       node = malloc(sizeof(*node));
+       node = (struct test_node *) malloc(sizeof(*node));
        urcu_posix_assert(node);
 
        call_rcu(&node->head, cb);
This page took 0.022712 seconds and 4 git commands to generate.