pc/pcmciamodem: cast i/o port to ulong
This commit is contained in:
parent
7347012d42
commit
aff63ef284
1 changed files with 2 additions and 2 deletions
|
@ -68,9 +68,9 @@ pcmciamodemlink(void)
|
|||
com2used = 1;
|
||||
if(ioalloc(isa.port, 8, 0, modems[j]) < 0)
|
||||
print("%s port %lux already in use\n",
|
||||
modems[j], isa.port);
|
||||
modems[j], (ulong)isa.port);
|
||||
print("%s in pcmcia slot %d port 0x%lux irq %d\n",
|
||||
modems[j], slot, isa.port, isa.irq);
|
||||
modems[j], slot, (ulong)isa.port, isa.irq);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue