diff options
| author | sommerfeld <sommerfeld@NetBSD.org> | 2000-06-12 23:45:45 +0000 |
|---|---|---|
| committer | sommerfeld <sommerfeld@NetBSD.org> | 2000-06-12 23:45:45 +0000 |
| commit | 9769dedd5beb77858598f4e074efebbc7a9c70ef (patch) | |
| tree | 6ab53b63c2ee460727a6508cc94e46614b9bfc5b /sys/dev/rasops/rasops.c | |
| parent | 751cd4ffb01a8ce813248325e758c41e0034b253 (diff) | |
Let this build on LP64 if DEBUG is defined.
Diffstat (limited to 'sys/dev/rasops/rasops.c')
| -rw-r--r-- | sys/dev/rasops/rasops.c | 6 |
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); } |
