X-Git-Url: http://git.liburcu.org/?p=urcu.git;a=blobdiff_plain;f=tests%2Ftest_urcu_wfs.c;fp=tests%2Ftest_urcu_wfs.c;h=9ec95ef197643f787b1c8e8fb61e755091f398e4;hp=043d842e73b5a4b93c9b462120add91bae1c5e23;hb=a39bde3b86162601c7d670d97a962fc3f029fdbd;hpb=2f49a496a4d7d3d4cd1b8d8323f907114bf2f3c8 diff --git a/tests/test_urcu_wfs.c b/tests/test_urcu_wfs.c index 043d842..9ec95ef 100644 --- a/tests/test_urcu_wfs.c +++ b/tests/test_urcu_wfs.c @@ -213,7 +213,7 @@ fail: printf_verbose("enqueuer thread_end, thread id : %lx, tid %lu, " "enqueues %llu successful_enqueues %llu, " "empty_dest_enqueues %llu\n", - pthread_self(), + (unsigned long) pthread_self(), (unsigned long) gettid(), URCU_TLS(nr_enqueues), URCU_TLS(nr_successful_enqueues), @@ -308,7 +308,7 @@ static void *thr_dequeuer(void *_count) printf_verbose("dequeuer thread_end, thread id : %lx, tid %lu, " "dequeues %llu, successful_dequeues %llu " "pop_all %llu pop_last %llu\n", - pthread_self(), + (unsigned long) pthread_self(), (unsigned long) gettid(), URCU_TLS(nr_dequeues), URCU_TLS(nr_successful_dequeues), URCU_TLS(nr_pop_all),