Compiler warning fix

This commit is contained in:
Ben Gras 2006-03-24 23:09:04 +00:00
parent d130e2838e
commit 654220cdb2

View file

@ -23,7 +23,8 @@ int data;
PUBLIC int sb16_inb(port)
int port;
{
int s, value = -1;
int s;
unsigned long value;
if ((s=sys_inb(port, &value)) != OK)
panic("SB16DSP","sys_inb() failed", s);
@ -43,4 +44,4 @@ int value;
if ((s=sys_outb(port, value)) != OK)
panic("SB16DSP","sys_outb() failed", s);
}
}