tests: add missing unsigned long casts to pthread_self()
[urcu.git] / tests / test_urcu_wfq.c
index 0940224ecbae653a00f8e83e16f8c7f17441a326..01e159222a25b429534b6b330767ebba3608d2a5 100644 (file)
@@ -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);
This page took 0.023263 seconds and 4 git commands to generate.