Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/bsd/ipf/dist/lib Fix printf formats
details: https://anonhg.NetBSD.org/src/rev/2f7af663e748
branches: trunk
changeset: 780401:2f7af663e748
user: martin <martin%NetBSD.org@localhost>
date: Sun Jul 22 18:09:16 2012 +0000
description:
Fix printf formats
diffstat:
external/bsd/ipf/dist/lib/printaps.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (20 lines):
diff -r 0100b755a042 -r 2f7af663e748 external/bsd/ipf/dist/lib/printaps.c
--- a/external/bsd/ipf/dist/lib/printaps.c Sun Jul 22 18:03:34 2012 +0000
+++ b/external/bsd/ipf/dist/lib/printaps.c Sun Jul 22 18:09:16 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: printaps.c,v 1.3 2012/07/22 14:27:36 darrenr Exp $ */
+/* $NetBSD: printaps.c,v 1.4 2012/07/22 18:09:16 martin Exp $ */
/*
* Copyright (C) 2012 by Darren Reed.
@@ -36,8 +36,8 @@
apr.apr_p, apr.apr_ref, apr.apr_flags);
#ifdef USE_QUAD_T
PRINTF("\tbytes %"PRIu64" pkts %"PRIu64"",
- (unsigned long long)ap.aps_bytes,
- (unsigned long long)ap.aps_pkts);
+ (uint64_t)ap.aps_bytes,
+ (uint64_t)ap.aps_pkts);
#else
PRINTF("\tbytes %lu pkts %lu", ap.aps_bytes, ap.aps_pkts);
#endif
Home |
Main Index |
Thread Index |
Old Index