Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/make size_t on amd64 doesn't like %u, use a cast.
details: https://anonhg.NetBSD.org/src/rev/3fc698b4df22
branches: trunk
changeset: 765931:3fc698b4df22
user: sjg <sjg%NetBSD.org@localhost>
date: Fri Jun 10 23:57:39 2011 +0000
description:
size_t on amd64 doesn't like %u, use a cast.
diffstat:
usr.bin/make/meta.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 8fe13746f835 -r 3fc698b4df22 usr.bin/make/meta.c
--- a/usr.bin/make/meta.c Fri Jun 10 21:02:46 2011 +0000
+++ b/usr.bin/make/meta.c Fri Jun 10 23:57:39 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: meta.c,v 1.17 2011/05/04 20:38:32 sjg Exp $ */
+/* $NetBSD: meta.c,v 1.18 2011/06/10 23:57:39 sjg Exp $ */
/*
* Implement 'meta' mode.
@@ -767,7 +767,7 @@
newsz = ROUNDUP(fs.st_size, BUFSIZ);
if (DEBUG(META))
fprintf(debug_file, "growing buffer %u -> %u\n",
- bufsz, newsz);
+ (unsigned int)bufsz, (unsigned int)newsz);
p = bmake_realloc(buf, newsz);
if (p) {
*bufp = buf = p;
Home |
Main Index |
Thread Index |
Old Index