Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/modstat make this compile again... since size_t is u...



details:   https://anonhg.NetBSD.org/src/rev/9e13a38b8a3d
branches:  trunk
changeset: 473687:9e13a38b8a3d
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Jun 15 15:04:40 1999 +0000

description:
make this compile again... since size_t is unsigned long now, %*d's with
the size arg size_t make gcc bitch.

diffstat:

 usr.bin/modstat/modstat.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 03f416251f2a -r 9e13a38b8a3d usr.bin/modstat/modstat.c
--- a/usr.bin/modstat/modstat.c Tue Jun 15 14:19:53 1999 +0000
+++ b/usr.bin/modstat/modstat.c Tue Jun 15 15:04:40 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: modstat.c,v 1.12 1999/06/07 00:24:16 mrg Exp $ */
+/*     $NetBSD: modstat.c,v 1.13 1999/06/15 15:04:40 christos Exp $    */
 
 /*
  * Copyright (c) 1993 Terrence R. Lambert.
@@ -34,7 +34,7 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: modstat.c,v 1.12 1999/06/07 00:24:16 mrg Exp $");
+__RCSID("$NetBSD: modstat.c,v 1.13 1999/06/15 15:04:40 christos Exp $");
 #endif
 
 #include <sys/param.h>
@@ -77,7 +77,7 @@
        "MISC"
 };
 
-#define POINTERSIZE (2 * sizeof(void*))
+#define POINTERSIZE ((int)(2 * sizeof(void*)))
 
 int
 dostat(devfd, modnum, modname)



Home | Main Index | Thread Index | Old Index