projects
/
userspace-rcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Cleanup: enable signed/unsigned compare compiler warning
[userspace-rcu.git]
/
tests
/
benchmark
/
test_perthreadlock_timing.c
diff --git
a/tests/benchmark/test_perthreadlock_timing.c
b/tests/benchmark/test_perthreadlock_timing.c
index c9cc65f70736dc441fc7a13b19d9b064ac8ce227..c1cd567242737cef2afddebac28bbb5dfd839369 100644
(file)
--- 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;
This page took
0.02361 seconds
and
4
git commands to generate.