tests: add missing unsigned long casts to pthread_self()
[userspace-rcu.git] / tests / test_urcu_hash_rw.c
index c750b4700d4e7785635b85f0d4d2b82fced09cc6..0082e87b61ba69ff32c44f99456e831bd622b55e 100644 (file)
@@ -111,7 +111,7 @@ void *test_hash_rw_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.022827 seconds and 4 git commands to generate.