Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci Silence "large integer implicitly truncated to u...
details: https://anonhg.NetBSD.org/src/rev/17c188580145
branches: trunk
changeset: 772910:17c188580145
user: jakllsch <jakllsch%NetBSD.org@localhost>
date: Sat Jan 21 16:12:57 2012 +0000
description:
Silence "large integer implicitly truncated to unsigned type" warning on LP64.
diffstat:
sys/dev/pci/voodoofbreg.h | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (22 lines):
diff -r 8c456d28bb7d -r 17c188580145 sys/dev/pci/voodoofbreg.h
--- a/sys/dev/pci/voodoofbreg.h Sat Jan 21 15:50:13 2012 +0000
+++ b/sys/dev/pci/voodoofbreg.h Sat Jan 21 16:12:57 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: voodoofbreg.h,v 1.3 2012/01/19 18:35:27 macallan Exp $ */
+/* $NetBSD: voodoofbreg.h,v 1.4 2012/01/21 16:12:57 jakllsch Exp $ */
/*
* Copyright 2005, 2006 by Michael Lorenz.
@@ -197,9 +197,9 @@
#define BIT(x) (1UL << (x))
/* COMMAND_2D reg. values */
-#define ROP_COPY 0xcc // src
-#define ROP_INVERT 0x55 // NOT dst
-#define ROP_XOR 0x66 // src XOR dst
+#define ROP_COPY 0xccU // src
+#define ROP_INVERT 0x55U // NOT dst
+#define ROP_XOR 0x66U // src XOR dst
#define AUTOINC_DSTX BIT(10)
#define AUTOINC_DSTY BIT(11)
Home |
Main Index |
Thread Index |
Old Index