From 0953844306e9a1d8be74ed802156c0abc5541b88 Mon Sep 17 00:00:00 2001 From: pk Date: Thu, 27 May 1999 14:20:10 +0000 Subject: [PATCH] Casts to match `%d' in printf format. --- sys/arch/sparc/sparc/autoconf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/arch/sparc/sparc/autoconf.c b/sys/arch/sparc/sparc/autoconf.c index 8318aa0b7312..b40f617ca24a 100644 --- a/sys/arch/sparc/sparc/autoconf.c +++ b/sys/arch/sparc/sparc/autoconf.c @@ -1,4 +1,4 @@ -/* $NetBSD: autoconf.c,v 1.118 1999/04/30 09:26:16 christos Exp $ */ +/* $NetBSD: autoconf.c,v 1.119 1999/05/27 14:20:10 pk Exp $ */ /* * Copyright (c) 1996 @@ -1273,7 +1273,7 @@ makememarr(ap, max, which) int addr; int len; } v2rmi[200]; /* version 2 rom meminfo layout */ -#define MAXMEMINFO (sizeof(v2rmi) / sizeof(*v2rmi)) +#define MAXMEMINFO ((int)sizeof(v2rmi) / (int)sizeof(*v2rmi)) void *p; struct v0mlist *mp;