X-Git-Url: https://git.liburcu.org/?p=urcu.git;a=blobdiff_plain;f=test_urcu.c;h=b92a7d74de5c23fd55d5959e8e5f514d314ef090;hp=39408a0bdd6d7141915b66222a9d64a7f655a7c3;hb=f4a486ac095bd844d0c18995737d589b8f085b69;hpb=e462817ecdce42b00f0cb0825e2425b08943105b diff --git a/test_urcu.c b/test_urcu.c index 39408a0..b92a7d7 100644 --- a/test_urcu.c +++ b/test_urcu.c @@ -127,7 +127,7 @@ void *thr_writer(void *arg) if (old) assert(old->a == 8); new->a = 8; - old = urcu_publish_content((void **)&test_rcu_pointer, new); + old = urcu_publish_content(&test_rcu_pointer, new); rcu_copy_mutex_unlock(); /* can be done after unlock */ if (old)