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>
This commit is contained in:
Jeff Morriss 2014-07-30 13:03:08 -04:00
parent 482dcf8c1f
commit 8d05e85c17
1 changed files with 3 additions and 1 deletions

View File

@ -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,