tests: add missing unsigned long casts to pthread_self()
[userspace-rcu.git] / tests / test_urcu_wfs.c
index 31ce14683bdbcd3f9afb165b2dd2df820dc3938b..c0c55998873c859eed8d697eb97ce9702d036b02 100644 (file)
@@ -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);
This page took 0.023929 seconds and 4 git commands to generate.