Module Name: src Committed By: jakllsch Date: Sat Jan 21 16:12:57 UTC 2012
Modified Files: src/sys/dev/pci: voodoofbreg.h Log Message: Silence "large integer implicitly truncated to unsigned type" warning on LP64. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/sys/dev/pci/voodoofbreg.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/dev/pci/voodoofbreg.h diff -u src/sys/dev/pci/voodoofbreg.h:1.3 src/sys/dev/pci/voodoofbreg.h:1.4 --- src/sys/dev/pci/voodoofbreg.h:1.3 Thu Jan 19 18:35:27 2012 +++ src/sys/dev/pci/voodoofbreg.h Sat Jan 21 16:12:57 2012 @@ -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)