Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/misc Partly reverted my last change. I had forgotten t...
details: https://anonhg.NetBSD.org/src/rev/1153c6e90c89
branches: trunk
changeset: 583731:1153c6e90c89
user: rillig <rillig%NetBSD.org@localhost>
date: Sat Aug 20 16:17:36 2005 +0000
description:
Partly reverted my last change. I had forgotten that off_t is a signed
data type.
diffstat:
share/misc/style | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diffs (28 lines):
diff -r 2a7cc88b2f40 -r 1153c6e90c89 share/misc/style
--- a/share/misc/style Sat Aug 20 16:14:34 2005 +0000
+++ b/share/misc/style Sat Aug 20 16:17:36 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: style,v 1.34 2005/08/20 09:03:29 rillig Exp $ */
+/* $NetBSD: style,v 1.35 2005/08/20 16:17:36 rillig Exp $ */
/*
* The revision control tag appears first, with a blank line after it.
@@ -29,7 +29,7 @@
#include <sys/cdefs.h>
__COPYRIGHT("@(#) Copyright (c) 2000\n\
The NetBSD Foundation, inc. All rights reserved.\n");
-__RCSID("$NetBSD: style,v 1.34 2005/08/20 09:03:29 rillig Exp $");
+__RCSID("$NetBSD: style,v 1.35 2005/08/20 16:17:36 rillig Exp $");
/*
* VERY important single-line comments look like this.
@@ -369,8 +369,7 @@
* To printf 64 bit quantities, use %lld and cast to (long long)
* or use %llu and cast to (unsigned long long).
*/
- (void)printf("The size of %s is %llu\n",
- p, (unsigned long long)sb->st_size);
+ (void)printf("The size of %s is %lld\n", p, (long long)sb->st_size);
}
/*
Home |
Main Index |
Thread Index |
Old Index