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 <kerolasa@iki.fi>
This commit is contained in:
Sami Kerola 2011-07-17 19:51:46 +02:00 committed by Karel Zak
parent 06c0375ce3
commit 90b7d261b9
1 changed files with 1 additions and 1 deletions

View File

@ -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,