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)
|
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);
|
||||||
|
|
Loading…
Reference in a new issue