Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/sparc/sparc Casts to match `%d' in printf format.



details:   https://anonhg.NetBSD.org/src/rev/0a6574beeefc
branches:  trunk
changeset: 473269:0a6574beeefc
user:      pk <pk%NetBSD.org@localhost>
date:      Thu May 27 14:20:10 1999 +0000

description:
Casts to match `%d' in printf format.

diffstat:

 sys/arch/sparc/sparc/autoconf.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r f358472f5486 -r 0a6574beeefc sys/arch/sparc/sparc/autoconf.c
--- a/sys/arch/sparc/sparc/autoconf.c   Thu May 27 14:04:25 1999 +0000
+++ b/sys/arch/sparc/sparc/autoconf.c   Thu May 27 14:20:10 1999 +0000
@@ -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 @@
                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;



Home | Main Index | Thread Index | Old Index