summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>1999-03-03 22:02:22 +0000
committerJason Wright <jason@cvs.openbsd.org>1999-03-03 22:02:22 +0000
commit31ad1ab56f3b19e7f64d73207d4b4d76047291d4 (patch)
treecd5f95872db24254be5a5fcce46196f2e096a6d6
parentd2509d58c7194c5570872ccd1a4d759fd4c3bb9a (diff)
unsigned vs. signed nit
-rw-r--r--sys/arch/sparc/sparc/cache.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sparc/sparc/cache.c b/sys/arch/sparc/sparc/cache.c
index aa28655e4bc..7920700f09b 100644
--- a/sys/arch/sparc/sparc/cache.c
+++ b/sys/arch/sparc/sparc/cache.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cache.c,v 1.4 1997/08/08 08:27:03 downsj Exp $ */
+/* $OpenBSD: cache.c,v 1.5 1999/03/03 22:02:21 jason Exp $ */
/* $NetBSD: cache.c,v 1.33 1997/07/29 09:41:56 fair Exp $ */
/*
@@ -739,7 +739,7 @@ viking_pcache_flush_line(va, pa)
#define cass 4 /* CACHEINFO.dc_associativity */
if (base == 0)
- base = (char *)roundup((int)etext, csize);
+ base = (char *)roundup((unsigned int)etext, csize);
v = base + (((pa & cmask) >> cshift) << cshift);
i = 2 * cass - 1;