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) PUBLIC int sb16_inb(port)
int port; int port;
{ {
int s, value = -1; int s;
unsigned long value;
if ((s=sys_inb(port, &value)) != OK) if ((s=sys_inb(port, &value)) != OK)
panic("SB16DSP","sys_inb() failed", s); panic("SB16DSP","sys_inb() failed", s);