Cleanup: enable signed/unsigned compare compiler warning
[urcu.git] / tests / benchmark / test_urcu_timing.c
index d586b1d25faea6d5b02ebe220e006e6e063ca4ce..b5f3e4a81bb4af0e0f1f97dd8ded9cbc9d6c5434 100644 (file)
@@ -85,7 +85,7 @@ static caa_cycles_t __attribute__((aligned(CAA_CACHE_LINE_SIZE))) *writer_time;
 
 void *thr_reader(void *arg)
 {
-       int i, j;
+       unsigned int i, j;
        struct test_array *local_ptr;
        caa_cycles_t time1, time2;
 
@@ -121,7 +121,7 @@ void *thr_reader(void *arg)
 
 void *thr_writer(void *arg)
 {
-       int i, j;
+       unsigned int i, j;
        struct test_array *new, *old;
        caa_cycles_t time1, time2;
 
This page took 0.023923 seconds and 4 git commands to generate.