Add C++ build tests
[urcu.git] / include / urcu / static / rculfqueue.h
index a8e109138e10d4e06945e941328454aed8627f43..ad73454ed57e5e9f3a4a4c10fb26a69af3bc978f 100644 (file)
@@ -66,7 +66,8 @@ struct cds_lfq_node_rcu *make_dummy(struct cds_lfq_queue_rcu *q,
 {
        struct cds_lfq_node_rcu_dummy *dummy;
 
-       dummy = malloc(sizeof(struct cds_lfq_node_rcu_dummy));
+       dummy = (struct cds_lfq_node_rcu_dummy *)
+               malloc(sizeof(struct cds_lfq_node_rcu_dummy));
        urcu_posix_assert(dummy);
        dummy->parent.next = next;
        dummy->parent.dummy = 1;
This page took 0.022584 seconds and 4 git commands to generate.