Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/rasops compiler warning.
details: https://anonhg.NetBSD.org/src/rev/8239c6cfc8aa
branches: trunk
changeset: 536039:8239c6cfc8aa
user: petrov <petrov%NetBSD.org@localhost>
date: Thu Sep 05 08:02:29 2002 +0000
description:
compiler warning.
diffstat:
sys/dev/rasops/rasops24.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 80ba660f831a -r 8239c6cfc8aa sys/dev/rasops/rasops24.c
--- a/sys/dev/rasops/rasops24.c Thu Sep 05 02:43:00 2002 +0000
+++ b/sys/dev/rasops/rasops24.c Thu Sep 05 08:02:29 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rasops24.c,v 1.16 2001/11/15 09:48:14 lukem Exp $ */
+/* $NetBSD: rasops24.c,v 1.17 2002/09/05 08:02:29 petrov Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rasops24.c,v 1.16 2001/11/15 09:48:14 lukem Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rasops24.c,v 1.17 2002/09/05 08:02:29 petrov Exp $");
#include "opt_rasops.h"
@@ -687,7 +687,7 @@
*
* aaab bbcc cddd
*/
- slop = (int)rp & 3; num -= slop;
+ slop = (int)(long)rp & 3; num -= slop;
n12 = num / 12; num -= (n12 << 3) + (n12 << 2);
n4 = num >> 2; num &= 3;
Home |
Main Index |
Thread Index |
Old Index