From: Sami Kerola Date: Sun, 17 Jul 2011 17:51:46 +0000 (+0200) Subject: chrt: data type compiler warning fixed X-Git-Tag: v2.20-rc1~66 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=90b7d261b9acaaacc0266f9b9ea1ffb934c4da4e;p=thirdparty%2Futil-linux.git 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 --- 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,