X-Git-Url: http://git.lttng.org/?p=urcu.git;a=blobdiff_plain;f=tests%2Ftest_urcu_lfq.c;h=c648f768f9c144c844a10a74eb174e0f1be5015b;hp=6d0f41a62bedaf2b859815903f0cd303bbdef450;hb=a39bde3b86162601c7d670d97a962fc3f029fdbd;hpb=2f49a496a4d7d3d4cd1b8d8323f907114bf2f3c8 diff --git a/tests/test_urcu_lfq.c b/tests/test_urcu_lfq.c index 6d0f41a..c648f76 100644 --- a/tests/test_urcu_lfq.c +++ b/tests/test_urcu_lfq.c @@ -200,7 +200,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); @@ -257,7 +257,7 @@ void *thr_dequeuer(void *_count) rcu_unregister_thread(); 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);