ref: aff63ef284491679357dc7e7543e2dd672a9bedc
parent: 7347012d42284ca11df09be8c68daa2ebc0583a4
author: cinap_lenrek <[email protected]>
date: Sat Jun 6 12:21:42 EDT 2020
pc/pcmciamodem: cast i/o port to ulong
--- a/sys/src/9/pc/pcmciamodem.c
+++ b/sys/src/9/pc/pcmciamodem.c
@@ -68,9 +68,9 @@
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);
}
}
}