forked from osmocom/wireshark
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:
parent
482dcf8c1f
commit
8d05e85c17
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue