Compiler warning fix
This commit is contained in:
parent
d130e2838e
commit
654220cdb2
1 changed files with 3 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue