summaryrefslogtreecommitdiff
path: root/print-rx.c
diff options
context:
space:
mode:
authorguy <guy>2008-07-01 07:40:39 +0000
committerguy <guy>2008-07-01 07:40:39 +0000
commitdd9a7133c2f7f8da790f9e5eb0d5929e9249a71a (patch)
tree9655d17ac3d636178e40d6b8a1f7b4e1e2e94e4b /print-rx.c
parent1705e6d6c50c75afde458aaaa8556387cbd0e15b (diff)
downloadtcpdump-dd9a7133c2f7f8da790f9e5eb0d5929e9249a71a.tar.gz
Use PRIu64 rather than %llu - %llu might be wrong, if u_int64_t is just
"unsigned long int", or if this is Windows with Microsoft's C compiler.
Diffstat (limited to 'print-rx.c')
-rw-r--r--print-rx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/print-rx.c b/print-rx.c
index 37e60b59..02775d3a 100644
--- a/print-rx.c
+++ b/print-rx.c
@@ -34,7 +34,7 @@
#ifndef lint
static const char rcsid[] _U_ =
- "@(#) $Header: /tcpdump/master/tcpdump/print-rx.c,v 1.40 2008-05-12 18:16:42 guy Exp $";
+ "@(#) $Header: /tcpdump/master/tcpdump/print-rx.c,v 1.41 2008-07-01 07:40:39 guy Exp $";
#endif
#ifdef HAVE_CONFIG_H
@@ -707,7 +707,7 @@ rx_cache_find(const struct rx_header *rxh, const struct ip *ip, int sport,
TCHECK2(bp[0], sizeof(u_int64_t)); \
i = EXTRACT_64BITS(bp); \
bp += sizeof(u_int64_t); \
- printf(" %llu", i); \
+ printf(" " PRIu64, i); \
}
#define DATEOUT() { time_t t; struct tm *tm; char str[256]; \