tests: add missing unsigned long casts to pthread_self()
[userspace-rcu.git] / tests / test_urcu_hash_unique.c
index e911694a5b888a864c492b83fdbc42c9f2e459ec..28b2edf5f1d066a10f4c7682f3ad11b46dea78a4 100644 (file)
@@ -113,7 +113,7 @@ void *test_hash_unique_thr_reader(void *_count)
                        "reader", (unsigned long) pthread_self(),
                        (unsigned long) gettid());
        printf_verbose("readid : %lx, lookupfail %lu, lookupok %lu\n",
-                       pthread_self(), URCU_TLS(lookup_fail),
+                       (unsigned long) pthread_self(), URCU_TLS(lookup_fail),
                        URCU_TLS(lookup_ok));
        return ((void*)1);
 
This page took 0.022545 seconds and 4 git commands to generate.