summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsommerfeld <sommerfeld@NetBSD.org>2000-06-12 23:45:45 +0000
committersommerfeld <sommerfeld@NetBSD.org>2000-06-12 23:45:45 +0000
commit9769dedd5beb77858598f4e074efebbc7a9c70ef (patch)
tree6ab53b63c2ee460727a6508cc94e46614b9bfc5b
parent751cd4ffb01a8ce813248325e758c41e0034b253 (diff)
Let this build on LP64 if DEBUG is defined.
-rw-r--r--sys/dev/rasops/rasops.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/rasops/rasops.c b/sys/dev/rasops/rasops.c
index 185a33ee401..32118254c91 100644
--- a/sys/dev/rasops/rasops.c
+++ b/sys/dev/rasops/rasops.c
@@ -1,4 +1,4 @@
-/* $NetBSD: rasops.c,v 1.30 2000/04/12 14:22:28 pk Exp $ */
+/* $NetBSD: rasops.c,v 1.31 2000/06/12 23:45:45 sommerfeld Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rasops.c,v 1.30 2000/04/12 14:22:28 pk Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rasops.c,v 1.31 2000/06/12 23:45:45 sommerfeld Exp $");
#include "opt_rasops.h"
#include "rasops_glue.h"
@@ -150,7 +150,7 @@ rasops_init(ri, wantrows, wantcols)
/* This should never happen in reality... */
#ifdef DEBUG
- if ((int)ri->ri_bits & 3) {
+ if ((long)ri->ri_bits & 3) {
printf("rasops_init: bits not aligned on 32-bit boundary\n");
return (-1);
}