diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2006-06-08 22:09:04 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2006-06-08 22:09:04 +0000 |
commit | e8580d2f632896c569322f7c6c0bfc457e25a175 (patch) | |
tree | 3a54a033697cb7d9cd5998e6e6280d02fbbea145 /sys | |
parent | 2fcfc9370a0025eb371274dfc739848c9a436fc0 (diff) |
unsigned long long -> u_int64_t
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/ic/mpi.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ic/mpi.c b/sys/dev/ic/mpi.c index 206da8c1c99..4b5d926242b 100644 --- a/sys/dev/ic/mpi.c +++ b/sys/dev/ic/mpi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mpi.c,v 1.27 2006/06/08 12:27:59 dlg Exp $ */ +/* $OpenBSD: mpi.c,v 1.28 2006/06/08 22:09:03 dlg Exp $ */ /* * Copyright (c) 2005, 2006 David Gwynne <dlg@openbsd.org> @@ -890,12 +890,12 @@ mpi_load_xs(struct mpi_ccb *ccb) DPRINTFN(5, "%s: %d: %d 0x%016llx\n", DEVNAME(sc), i, dmap->dm_segs[i].ds_len, - (unsigned long long)dmap->dm_segs[i].ds_addr); + (u_int64_t)dmap->dm_segs[i].ds_addr); sge = nsge; sge->sg_hdr = htole32(flags | dmap->dm_segs[i].ds_len); - addr = (u_int32_t)((unsigned long long)dmap->dm_segs[i].ds_addr >> 32); + addr = (u_int32_t)((u_int64_t)dmap->dm_segs[i].ds_addr >> 32); sge->sg_hi_addr = htole32(addr); addr = (u_int32_t)dmap->dm_segs[i].ds_addr; sge->sg_lo_addr = htole32(addr); |