X-Git-Url: https://git.lttng.org/?p=urcu.git;a=blobdiff_plain;f=tests%2Ftest_urcu_wfq.c;fp=tests%2Ftest_urcu_wfq.c;h=01e159222a25b429534b6b330767ebba3608d2a5;hp=0940224ecbae653a00f8e83e16f8c7f17441a326;hb=a39bde3b86162601c7d670d97a962fc3f029fdbd;hpb=2f49a496a4d7d3d4cd1b8d8323f907114bf2f3c8 diff --git a/tests/test_urcu_wfq.c b/tests/test_urcu_wfq.c index 0940224..01e1592 100644 --- a/tests/test_urcu_wfq.c +++ b/tests/test_urcu_wfq.c @@ -193,7 +193,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); @@ -232,7 +232,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);