diff options
author | peter <peter@FreeBSD.org> | 2001-06-15 07:42:58 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2001-06-15 07:42:58 +0000 |
commit | 7efbde79e029a55568478976dd491587587463a3 (patch) | |
tree | 0b119535cd13b36caa8c53c5b34cf45a04247552 /sys/pci | |
parent | 0815b94904f61bba6bbdc604de6a880228045b80 (diff) | |
download | FreeBSD-src-7efbde79e029a55568478976dd491587587463a3.zip FreeBSD-src-7efbde79e029a55568478976dd491587587463a3.tar.gz |
Fix warning:
298: warning: assignment makes pointer from integer without a cast
Diffstat (limited to 'sys/pci')
-rw-r--r-- | sys/pci/intpm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/pci/intpm.c b/sys/pci/intpm.c index f04325b..5937a02 100644 --- a/sys/pci/intpm.c +++ b/sys/pci/intpm.c @@ -293,10 +293,10 @@ static void intsmb_alrintr(device_t dev) |LSB); intsmb_start(dev,PIIX4_SMBHSTCNT_PROT_BYTE,1); if(!(error=intsmb_stop_poll(dev))){ - volatile u_int8_t *addr; + u_int8_t addr; addr=bus_space_read_1(sc->st,sc->sh, PIIX4_SMBHSTDAT0); - printf("ALART_RESPONSE: %p\n", addr); + printf("ALART_RESPONSE: 0x%x\n", addr); } }else{ printf("ERROR\n"); |