Cleanup: missing sign compare fixes
[urcu.git] / tests / benchmark / test_perthreadlock.c
index 512b1fc8ff1dc1f6697c28911ce382cec3c1ebe3..f02e00b43e8db6144911dd4512a3f49875c9ac41 100644 (file)
@@ -220,7 +220,7 @@ void *thr_writer(void *data)
        cmm_smp_mb();
 
        for (;;) {
-               for (tidx = 0; tidx < nr_readers; tidx++) {
+               for (tidx = 0; tidx < (long)nr_readers; tidx++) {
                        urcu_mutex_lock(&per_thread_lock[tidx].lock);
                }
                test_array.a = 0;
This page took 0.030691 seconds and 4 git commands to generate.