Convert a missed u_char cpu -> int cpu.
This was caught by a gcc build. Reported by: luigi Sponsored by: Norse Corp, Inc.
This commit is contained in:
parent
99e9de871a
commit
3fe93b946f
@ -362,8 +362,7 @@ intr_setaffinity(int irq, void *m)
|
||||
{
|
||||
struct intr_event *ie;
|
||||
cpuset_t *mask;
|
||||
u_char cpu;
|
||||
int n;
|
||||
int cpu, n;
|
||||
|
||||
mask = m;
|
||||
cpu = NOCPU;
|
||||
@ -377,7 +376,7 @@ intr_setaffinity(int irq, void *m)
|
||||
continue;
|
||||
if (cpu != NOCPU)
|
||||
return (EINVAL);
|
||||
cpu = (u_char)n;
|
||||
cpu = n;
|
||||
}
|
||||
}
|
||||
ie = intr_lookup(irq);
|
||||
|
Loading…
Reference in New Issue
Block a user