Fix comparison of integer expressions of different signedness Signed-off-by: John Kacur <jkacur@xxxxxxxxxx> --- src/sched_deadline/cyclicdeadline.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sched_deadline/cyclicdeadline.c b/src/sched_deadline/cyclicdeadline.c index b477cc7aa8ff..9bdc4b5deaf1 100644 --- a/src/sched_deadline/cyclicdeadline.c +++ b/src/sched_deadline/cyclicdeadline.c @@ -1067,7 +1067,7 @@ static void write_stats(FILE *f, void *data) { struct sched_data *sd = data; struct thread_stat *s; - unsigned int i; + int i; fprintf(f, " \"num_threads\": %d,\n", nr_threads); fprintf(f, " \"resolution_in_ns\": %u,\n", use_nsecs); -- 2.40.1