Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/rasops Resolve LP64 issues.
details: https://anonhg.NetBSD.org/src/rev/7251a58d1df7
branches: trunk
changeset: 483608:7251a58d1df7
user: nisimura <nisimura%NetBSD.org@localhost>
date: Tue Mar 14 04:23:14 2000 +0000
description:
Resolve LP64 issues.
diffstat:
sys/dev/rasops/rasops.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r 994962cb5c0c -r 7251a58d1df7 sys/dev/rasops/rasops.c
--- a/sys/dev/rasops/rasops.c Tue Mar 14 02:55:04 2000 +0000
+++ b/sys/dev/rasops/rasops.c Tue Mar 14 04:23:14 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rasops.c,v 1.26 2000/01/06 05:27:19 shin Exp $ */
+/* $NetBSD: rasops.c,v 1.27 2000/03/14 04:23:14 nisimura Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rasops.c,v 1.26 2000/01/06 05:27:19 shin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rasops.c,v 1.27 2000/03/14 04:23:14 nisimura Exp $");
#include "opt_rasops.h"
#include "rasops_glue.h"
@@ -761,7 +761,7 @@
rp = ri->ri_bits + row * ri->ri_yscale + col * ri->ri_xscale;
height = ri->ri_font->fontheight;
- slop1 = (4 - ((int)rp & 3)) & 3;
+ slop1 = (4 - ((long)rp & 3)) & 3;
if (slop1 > ri->ri_xscale)
slop1 = ri->ri_xscale;
@@ -888,7 +888,7 @@
return;
}
- slop1 = (4 - ((int)rp & 3)) & 3;
+ slop1 = (4 - ((long)rp & 3)) & 3;
slop2 = (num - slop1) & 3;
num -= slop1 + slop2;
n8 = num >> 5;
Home |
Main Index |
Thread Index |
Old Index