From 0eeab9735fc99aa3ad021c4f24935911fbbd6a43 Mon Sep 17 00:00:00 2001 From: mrg Date: Wed, 17 May 2000 09:12:10 +0000 Subject: [PATCH] fix another warning. --- sys/arch/sparc64/sparc64/pmap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/arch/sparc64/sparc64/pmap.c b/sys/arch/sparc64/sparc64/pmap.c index 2cb99429b3fe..10baaa017a7f 100644 --- a/sys/arch/sparc64/sparc64/pmap.c +++ b/sys/arch/sparc64/sparc64/pmap.c @@ -1,4 +1,4 @@ -/* $NetBSD: pmap.c,v 1.52 2000/04/22 16:42:25 mrg Exp $ */ +/* $NetBSD: pmap.c,v 1.53 2000/05/17 09:12:10 mrg Exp $ */ #undef NO_VCACHE /* Don't forget the locked TLB in dostart */ #define HWREF 1 #undef BOOT_DEBUG @@ -410,7 +410,7 @@ pmap_bootstrap(kernelstart, kernelend, maxctx) /* print out mem list */ prom_printf("Available virutal memory:\r\n"); for (mp = memlist; mp->size; mp++) { - prom_printf("memlist start %p size %lx\r\n", (void *)mp->start, + prom_printf("memlist start %p size %lx\r\n", (void *)(u_long)mp->start, (u_long)mp->size); } prom_printf("End of available virutal memory\r\n");