summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Morriss <jeff.morriss.ws@gmail.com>2014-07-30 13:03:08 -0400
committerJeff Morriss <jeff.morriss.ws@gmail.com>2014-07-30 17:06:03 +0000
commit8d05e85c17353a548327b8dda682e8dbf5518850 (patch)
treea78685f312cb6a22b3d547fad56fb7bce443dbe1
parent482dcf8c1f291bd4958bfd5c13044068e03b1f80 (diff)
downloadwireshark-8d05e85c17353a548327b8dda682e8dbf5518850.tar.gz
Fix the build: add a few more G_GINT64_MODIFIER's when printing 64-bit numbers.
Also use %u instead of %d for these unsigned numbers. Change-Id: I3d1df3bdcc3c68193b49ba8daf1dc56171356290 Reviewed-on: https://code.wireshark.org/review/3266 Reviewed-by: Jeff Morriss <jeff.morriss.ws@gmail.com>
-rw-r--r--ui/cli/tap-iousers.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/ui/cli/tap-iousers.c b/ui/cli/tap-iousers.c
index 2156839fda..61e097ff67 100644
--- a/ui/cli/tap-iousers.c
+++ b/ui/cli/tap-iousers.c
@@ -96,7 +96,9 @@ iousers_draw(void *arg)
tot_frames = iui->rx_frames + iui->tx_frames;
if (tot_frames == last_frames){
- printf("%-20s <-> %-20s %6d %9" G_GINT64_MODIFIER "d %6d %9" G_GINT64_MODIFIER "d %6d %9" G_GINT64_MODIFIER "d ",
+ printf("%-20s <-> %-20s %6" G_GINT64_MODIFIER "u %9" G_GINT64_MODIFIER
+ "u %6" G_GINT64_MODIFIER "u %9" G_GINT64_MODIFIER "u %6"
+ G_GINT64_MODIFIER "u %9" G_GINT64_MODIFIER "u ",
/* XXX - TODO: make name resolution configurable (through gbl_resolv_flags?) */
get_conversation_address(&iui->src_address, TRUE), get_conversation_address(&iui->dst_address, TRUE),
iui->tx_frames, iui->tx_bytes,