X-Git-Url: https://git.liburcu.org/?p=urcu.git;a=blobdiff_plain;f=test_urcu.c;h=17061f81a250d5f12f7e4836d7caf81835cd43d4;hp=2b34798986ae14fc6b80ff6a749f6c800516816d;hb=f5f51ac3ef3e0db8a0940c456bce22bc9000fdbf;hpb=5e7e64b952ac49cf61c4c3bfc02e5938c3691d94 diff --git a/test_urcu.c b/test_urcu.c index 2b34798..17061f8 100644 --- a/test_urcu.c +++ b/test_urcu.c @@ -82,7 +82,7 @@ void *thr_writer(void *arg) new->a = 8; new->b = 12; new->c[55] = 2; - old = urcu_publish_content(&test_rcu_pointer, new); + old = urcu_publish_content((void **)&test_rcu_pointer, new); rcu_write_unlock(); /* can be done after unlock */ if (old) {