X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=tests%2Ftest_urcu_wfq.c;h=7cadae17641bb2eac17180389c82f354f40db8c0;hb=baf05c7167c29785d968404dec7e90cd428cc4cd;hp=c361e02e2f03e9ddcaa131b99ef8eabea7e3e609;hpb=b2f20dff3e0ce8db5f4f0067e2d8810420f16346;p=urcu.git diff --git a/tests/test_urcu_wfq.c b/tests/test_urcu_wfq.c index c361e02..7cadae1 100644 --- a/tests/test_urcu_wfq.c +++ b/tests/test_urcu_wfq.c @@ -188,7 +188,7 @@ fail: count[1] = URCU_TLS(nr_successful_enqueues); printf_verbose("enqueuer thread_end, thread id : %lx, tid %lu, " "enqueues %llu successful_enqueues %llu\n", - pthread_self(), + (unsigned long) pthread_self(), (unsigned long) gettid(), URCU_TLS(nr_enqueues), URCU_TLS(nr_successful_enqueues)); return ((void*)1); @@ -227,7 +227,7 @@ void *thr_dequeuer(void *_count) printf_verbose("dequeuer thread_end, thread id : %lx, tid %lu, " "dequeues %llu, successful_dequeues %llu\n", - pthread_self(), + (unsigned long) pthread_self(), (unsigned long) gettid(), URCU_TLS(nr_dequeues), URCU_TLS(nr_successful_dequeues)); count[0] = URCU_TLS(nr_dequeues);