Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci long long constant needs "LL" suffix.
details: https://anonhg.NetBSD.org/src/rev/f2aae7ce2616
branches: trunk
changeset: 487539:f2aae7ce2616
user: soda <soda%NetBSD.org@localhost>
date: Fri Jun 09 04:45:53 2000 +0000
description:
long long constant needs "LL" suffix.
diffstat:
sys/dev/pci/pcireg.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 5f2f69d4cfe1 -r f2aae7ce2616 sys/dev/pci/pcireg.h
--- a/sys/dev/pci/pcireg.h Fri Jun 09 04:43:19 2000 +0000
+++ b/sys/dev/pci/pcireg.h Fri Jun 09 04:45:53 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pcireg.h,v 1.27 2000/05/12 03:35:34 jhawk Exp $ */
+/* $NetBSD: pcireg.h,v 1.28 2000/06/09 04:45:53 soda Exp $ */
/*
* Copyright (c) 1995, 1996, 1999
@@ -330,7 +330,7 @@
((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)
Home |
Main Index |
Thread Index |
Old Index