summaryrefslogtreecommitdiff
path: root/sys/dev/pci/pcireg.h
diff options
context:
space:
mode:
authorAlexander Yurchenko <grange@cvs.openbsd.org>2003-12-06 14:40:34 +0000
committerAlexander Yurchenko <grange@cvs.openbsd.org>2003-12-06 14:40:34 +0000
commite9b9added1d94fa4fa8ea5a018e1aa548a0cbc4e (patch)
tree017f5da9a9ec10184b4bf87be38256a0021de2cf /sys/dev/pci/pcireg.h
parent1b25afb8138fe6359c42307db1dd62544c8428a4 (diff)
Mark u_int64_t constants with ULL to make gcc3 happy.
ok drahn@
Diffstat (limited to 'sys/dev/pci/pcireg.h')
-rw-r--r--sys/dev/pci/pcireg.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/pcireg.h b/sys/dev/pci/pcireg.h
index e70882fea25..e5061ddd0b8 100644
--- a/sys/dev/pci/pcireg.h
+++ b/sys/dev/pci/pcireg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pcireg.h,v 1.25 2003/11/16 20:30:06 avsm Exp $ */
+/* $OpenBSD: pcireg.h,v 1.26 2003/12/06 14:40:33 grange Exp $ */
/* $NetBSD: pcireg.h,v 1.26 2000/05/10 16:58:42 thorpej Exp $ */
/*
@@ -413,7 +413,7 @@ typedef u_int8_t pci_revision_t;
((mr) & PCI_MAPREG_MEM64_ADDR_MASK)
#define PCI_MAPREG_MEM64_SIZE(mr) \
(PCI_MAPREG_MEM64_ADDR(mr) & -PCI_MAPREG_MEM64_ADDR(mr))
-#define PCI_MAPREG_MEM64_ADDR_MASK 0xfffffffffffffff0
+#define PCI_MAPREG_MEM64_ADDR_MASK 0xfffffffffffffff0ULL
#define PCI_MAPREG_IO_ADDR(mr) \
((mr) & PCI_MAPREG_IO_ADDR_MASK)