X-Git-Url: https://git.liburcu.org/?p=urcu.git;a=blobdiff_plain;f=tests%2Ftest_urcu_lfq.c;h=c648f768f9c144c844a10a74eb174e0f1be5015b;hp=6d0f41a62bedaf2b859815903f0cd303bbdef450;hb=550265b2c2de28e0fe566f71fb1cab64fa620efa;hpb=0663713865a25964c2932943c48e59ddf3caecd8 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);