X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;ds=inline;f=tests%2Ftest_urcu_wfs.c;h=c0c55998873c859eed8d697eb97ce9702d036b02;hb=baf05c7167c29785d968404dec7e90cd428cc4cd;hp=31ce14683bdbcd3f9afb165b2dd2df820dc3938b;hpb=95d8822d8b4c4a3563bf51c7c718350eb2babd20;p=urcu.git diff --git a/tests/test_urcu_wfs.c b/tests/test_urcu_wfs.c index 31ce146..c0c5599 100644 --- a/tests/test_urcu_wfs.c +++ b/tests/test_urcu_wfs.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);