pc/pcmciamodem: cast i/o port to ulong

This commit is contained in:
cinap_lenrek 2020-06-06 16:21:42 +02:00
parent 7347012d42
commit aff63ef284

View file

@ -68,9 +68,9 @@ pcmciamodemlink(void)
com2used = 1; com2used = 1;
if(ioalloc(isa.port, 8, 0, modems[j]) < 0) if(ioalloc(isa.port, 8, 0, modems[j]) < 0)
print("%s port %lux already in use\n", 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", 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);
} }
} }
} }