diff options
author | Marco Peereboom <marco@cvs.openbsd.org> | 2009-11-05 03:43:19 +0000 |
---|---|---|
committer | Marco Peereboom <marco@cvs.openbsd.org> | 2009-11-05 03:43:19 +0000 |
commit | 3e84040f2ab411d9b429daad98e72c39fc0c811a (patch) | |
tree | 20170704c11f4af066358147b267093ad3f2853f /sys/dev/pci | |
parent | da070d530c1c6b123eb24e34db48251ca1f04d52 (diff) |
Make compile on 32 bit as well.
From James Giannoules
Diffstat (limited to 'sys/dev/pci')
-rw-r--r-- | sys/dev/pci/mpii.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/mpii.c b/sys/dev/pci/mpii.c index f9f9c9bd4e9..917f700932b 100644 --- a/sys/dev/pci/mpii.c +++ b/sys/dev/pci/mpii.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mpii.c,v 1.2 2009/11/03 06:00:40 marco Exp $ */ +/* $OpenBSD: mpii.c,v 1.3 2009/11/05 03:43:18 marco Exp $ */ /* * Copyright (c) James Giannoules * Copyright (c) 2005 David Gwynne <dlg@openbsd.org> @@ -3674,7 +3674,7 @@ mpii_alloc_queues(struct mpii_softc *sc) DEVNAME(sc)); kva64 = (u_int64_t *)MPII_DMA_KVA(sc->sc_reply_postq); for (i = 0; i < sc->sc_reply_post_qdepth; i++) { - kva64[i] = 0xffffffffffffffff; + kva64[i] = 0xffffffffffffffffllu; DNPRINTF(MPII_D_MISC, "%s: %d: 0x%08x = 0x%lx\n", DEVNAME(sc), i, &kva64[i], kva64[i]); } |