From 9769dedd5beb77858598f4e074efebbc7a9c70ef Mon Sep 17 00:00:00 2001 From: sommerfeld Date: Mon, 12 Jun 2000 23:45:45 +0000 Subject: Let this build on LP64 if DEBUG is defined. --- sys/dev/rasops/rasops.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/dev') 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 -__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); } -- cgit