diff options
author | John Kacur <jkacur@redhat.com> | 2023-10-06 12:43:43 -0400 |
---|---|---|
committer | John Kacur <jkacur@redhat.com> | 2023-10-06 12:43:43 -0400 |
commit | 99bf8d92b3a12d5b8d322cddcdb2dc0f4b22ef18 (patch) | |
tree | 5067238342a12622d9ecd5cf5cda1228876e62de | |
parent | 10a0bcd971594947f454f13f553025ad4739abd8 (diff) | |
download | rt-tests-99bf8d92b3a12d5b8d322cddcdb2dc0f4b22ef18.tar.gz |
rt-tests: cyclictest: Fix comparison of different signedness
Fix comparison of integer expressions of different signedness
Signed-off-by: John Kacur <jkacur@redhat.com>
-rw-r--r-- | src/cyclictest/cyclictest.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cyclictest/cyclictest.c b/src/cyclictest/cyclictest.c index 2542cb5..a8039b4 100644 --- a/src/cyclictest/cyclictest.c +++ b/src/cyclictest/cyclictest.c @@ -1800,7 +1800,8 @@ rstat_err: static void write_stats(FILE *f, void *data __attribute__ ((unused))) { struct thread_param **par = parameters; - unsigned int i, j, comma; + int i, j; + unsigned comma; struct thread_stat *s; fprintf(f, " \"num_threads\": %d,\n", num_threads); |