diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2020-06-06 15:17:08 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2020-06-06 15:17:08 +0200 |
commit | b6becc7a642c9efc26143237758a95ec33c733cf (patch) | |
tree | 0ede6ec6006f2ac87cc1998ab1f7e927322fc92b /sys/src/9/port/devpnp.c | |
parent | 6ae50ce3303c483b553767dbe422c67c3861abf4 (diff) |
devpnp, devether, devusb: cast ISAConf.port to uvlong (for 32-bit implementations)
The ISAConf.port might still be 32-bit on some archs.
Diffstat (limited to 'sys/src/9/port/devpnp.c')
-rw-r--r-- | sys/src/9/port/devpnp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/9/port/devpnp.c b/sys/src/9/port/devpnp.c index f0fcadcf5..ebaaa5cb7 100644 --- a/sys/src/9/port/devpnp.c +++ b/sys/src/9/port/devpnp.c @@ -544,7 +544,7 @@ pnpread(Chan *c, void *va, long n, vlong offset) for(i=0; i<nelem(p->mem); i++){ if(p->mem[i].size == 0) continue; - w = seprint(w, ebuf, " %d:%.8llux %d", i, p->mem[i].bar, p->mem[i].size); + w = seprint(w, ebuf, " %d:%.8llux %d", i, (uvlong)p->mem[i].bar, p->mem[i].size); } *w++ = '\n'; *w = '\0'; |