diff options
author | jhb <jhb@FreeBSD.org> | 2002-11-07 22:20:22 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2002-11-07 22:20:22 +0000 |
commit | 8120d9e4ea8c0e09335ea88c575cb8b697574f1f (patch) | |
tree | 7cdb734a94c73cc1a4a96344aa4eca8efad31581 /sys/dev/sr | |
parent | abf784c214048373e84e20d4b641682b46562873 (diff) | |
download | FreeBSD-src-8120d9e4ea8c0e09335ea88c575cb8b697574f1f.zip FreeBSD-src-8120d9e4ea8c0e09335ea88c575cb8b697574f1f.tar.gz |
Fix the rest of the 64-bit warnings for the sr(4) driver.
Diffstat (limited to 'sys/dev/sr')
-rw-r--r-- | sys/dev/sr/if_srregs.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/sr/if_srregs.h b/sys/dev/sr/if_srregs.h index 2e2df76..4ed6d57 100644 --- a/sys/dev/sr/if_srregs.h +++ b/sys/dev/sr/if_srregs.h @@ -124,10 +124,10 @@ * These macros are used to hide the difference between the way the * ISA N2 cards and the PCI N2 cards access the Hitachi 64570 SCA. */ -#define SRC_GET8(base,off) (*hc->src_get8)(base,(u_int)&off) -#define SRC_GET16(base,off) (*hc->src_get16)(base,(u_int)&off) -#define SRC_PUT8(base,off,d) (*hc->src_put8)(base,(u_int)&off,d) -#define SRC_PUT16(base,off,d) (*hc->src_put16)(base,(u_int)&off,d) +#define SRC_GET8(base,off) (*hc->src_get8)(base,(uintptr_t)&off) +#define SRC_GET16(base,off) (*hc->src_get16)(base,(uintptr_t)&off) +#define SRC_PUT8(base,off,d) (*hc->src_put8)(base,(uintptr_t)&off,d) +#define SRC_PUT16(base,off,d) (*hc->src_put16)(base,(uintptr_t)&off,d) /* * These macros enable/disable the DPRAM and select the correct |