diff options
| author | Attilio Rao <attilio@FreeBSD.org> | 2010-03-30 12:08:00 +0000 |
|---|---|---|
| committer | Attilio Rao <attilio@FreeBSD.org> | 2010-03-30 12:08:00 +0000 |
| commit | 92b4a7328c432b1778a76b725d8456a678dee4ba (patch) | |
| tree | a3cd4a1227ddab349c00653a0fa1603926f2fbb7 /sys | |
| parent | c40108a1d43ed8345f3836efe1f7a16fa26bb0c1 (diff) | |
Notes
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/dev/aac/aac.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/dev/aac/aac.c b/sys/dev/aac/aac.c index 0ca5a700d3f4..7db751a3175d 100644 --- a/sys/dev/aac/aac.c +++ b/sys/dev/aac/aac.c @@ -3127,11 +3127,7 @@ aac_ioctl_send_raw_srb(struct aac_softc *sc, caddr_t arg) sge = srbcmd->sg_map.SgEntry; sge64 = NULL; srb_sg_bytecount = sge->SgByteCount; -#ifdef __amd64__ - srb_sg_address = (void *)(uint64_t)sge->SgAddress; -#else - srb_sg_address = (void *)sge->SgAddress; -#endif + srb_sg_address = (void *)(uintptr_t)sge->SgAddress; } #ifdef __amd64__ else if (fibsize == (sizeof(struct aac_srb) + |
