From 8a0d25a707e8d8269978badf47d8f61c16314335 Mon Sep 17 00:00:00 2001 From: pk Date: Tue, 6 Jun 2000 09:20:31 +0000 Subject: [PATCH] Oops, type confusion.. --- sys/arch/sparc/sparc/pmap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/arch/sparc/sparc/pmap.c b/sys/arch/sparc/sparc/pmap.c index 18e3a03a4819..ff52452d02d5 100644 --- a/sys/arch/sparc/sparc/pmap.c +++ b/sys/arch/sparc/sparc/pmap.c @@ -1,4 +1,4 @@ -/* $NetBSD: pmap.c,v 1.167 2000/06/05 20:38:26 pk Exp $ */ +/* $NetBSD: pmap.c,v 1.168 2000/06/06 09:20:31 pk Exp $ */ /* * Copyright (c) 1996 @@ -3176,7 +3176,7 @@ pmap_bootstrap4m(void) */ ctxtblsize = max(ncontext,1024) * sizeof(int); cpuinfo.ctx_tbl = (int *)roundup((u_int)p, ctxtblsize); - cpuinfo.ctx_tbl_pa = (paddr_t)(cpuinfo.ctx_tbl - KERNBASE); + cpuinfo.ctx_tbl_pa = (paddr_t)((u_int)cpuinfo.ctx_tbl - KERNBASE); p = (caddr_t)((u_int)cpuinfo.ctx_tbl + ctxtblsize); /*