From 90b7d261b9acaaacc0266f9b9ea1ffb934c4da4e Mon Sep 17 00:00:00 2001 From: Sami Kerola Date: Sun, 17 Jul 2011 19:51:46 +0200 Subject: [PATCH] chrt: data type compiler warning fixed chrt.c:158:16: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] Signed-off-by: Sami Kerola --- schedutils/chrt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/schedutils/chrt.c b/schedutils/chrt.c index 6c2c6f2232..542b1fa429 100644 --- a/schedutils/chrt.c +++ b/schedutils/chrt.c @@ -156,7 +156,7 @@ static void show_rt_info(pid_t pid, int isnew) static void show_min_max(void) { - int i; + unsigned long i; int policies[] = { SCHED_OTHER, SCHED_FIFO, SCHED_RR, #ifdef SCHED_BATCH SCHED_BATCH, -- 2.47.3