sched: fix signedness warnings in sched.c
authorHarvey Harrison <harvey.harrison@gmail.com>
Fri, 15 Feb 2008 17:56:36 +0000 (09:56 -0800)
committerIngo Molnar <mingo@elte.hu>
Mon, 25 Feb 2008 15:34:17 +0000 (16:34 +0100)
commit67ca7bde2e9d3516b5ae0188330ad1059ac03f38
tree770b1a1c7ed520d984b5de3c588c2e96368daafa
parent7eee3e677d6e2e9007afcd7d79b0715525aa552e
sched: fix signedness warnings in sched.c

Unsigned long values are always assigned to switch_count,
make it unsigned long.

kernel/sched.c:3897:15: warning: incorrect type in assignment (different signedness)
kernel/sched.c:3897:15:    expected long *switch_count
kernel/sched.c:3897:15:    got unsigned long *<noident>
kernel/sched.c:3921:16: warning: incorrect type in assignment (different signedness)
kernel/sched.c:3921:16:    expected long *switch_count
kernel/sched.c:3921:16:    got unsigned long *<noident>

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sched.c