X-Git-Url: https://git.lttng.org/?p=urcu.git;a=blobdiff_plain;f=tests%2Fbenchmark%2Ftest_perthreadlock_timing.c;h=c1cd567242737cef2afddebac28bbb5dfd839369;hp=c9cc65f70736dc441fc7a13b19d9b064ac8ce227;hb=83e334d03eaba62df373cf44298616458900078a;hpb=99ab1528d4df0c35bd209063c42123d1bc2f81ea diff --git a/tests/benchmark/test_perthreadlock_timing.c b/tests/benchmark/test_perthreadlock_timing.c index c9cc65f..c1cd567 100644 --- a/tests/benchmark/test_perthreadlock_timing.c +++ b/tests/benchmark/test_perthreadlock_timing.c @@ -69,7 +69,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; caa_cycles_t time1, time2; long tidx = (long)arg; @@ -98,7 +98,7 @@ void *thr_reader(void *arg) void *thr_writer(void *arg) { - int i, j; + unsigned int i, j; long tidx; caa_cycles_t time1, time2;