Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/rasops Let this build on LP64 if DEBUG is defined.
details: https://anonhg.NetBSD.org/src/rev/56a3d1f16b96
branches: trunk
changeset: 487796:56a3d1f16b96
user: sommerfeld <sommerfeld%NetBSD.org@localhost>
date: Mon Jun 12 23:45:45 2000 +0000
description:
Let this build on LP64 if DEBUG is defined.
diffstat:
sys/dev/rasops/rasops.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 0bfbac8505b9 -r 56a3d1f16b96 sys/dev/rasops/rasops.c
--- a/sys/dev/rasops/rasops.c Mon Jun 12 23:42:10 2000 +0000
+++ b/sys/dev/rasops/rasops.c Mon Jun 12 23:45:45 2000 +0000
@@ -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 @@
/* 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);
}
Home |
Main Index |
Thread Index |
Old Index