diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2007-05-29 18:52:42 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2007-05-29 18:52:42 +0000 |
commit | 9f1faf44629afcb49a3b193b2db7c82c5be7ec9e (patch) | |
tree | 362095c0935c7f6d8f0018b30fb612222ea70263 /plugins/profinet | |
parent | 0dbcc0f8c80f0ba578b02ce1de305d7e50cc1512 (diff) |
Use G_GINT64_MODIFIER, rather than the PRI[douxX]64 macros, for GLib
routines and routines using those routines. GLib might use different
modifiers for 64-bit quantities than the platform's C library does.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21990 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'plugins/profinet')
-rw-r--r-- | plugins/profinet/packet-pn-ptcp.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/profinet/packet-pn-ptcp.c b/plugins/profinet/packet-pn-ptcp.c index 4b5b4f92f8..a1a597da67 100644 --- a/plugins/profinet/packet-pn-ptcp.c +++ b/plugins/profinet/packet-pn-ptcp.c @@ -586,19 +586,19 @@ dissect_PNPTCP_Header(tvbuff_t *tvb, int offset, delayms = (guint32) (delayns / (1000 * 1000)); if (check_col(pinfo->cinfo, COL_INFO)) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Delay=%11" PRIu64 "ns", + col_append_fstr(pinfo->cinfo, COL_INFO, ", Delay=%11" G_GINT64_MODIFIER "uns", delayns); - proto_item_append_text(item, ", Delay=%" PRIu64 "ns", delayns); + proto_item_append_text(item, ", Delay=%" G_GINT64_MODIFIER "uns", delayns); if(delayns != 0) { - proto_item_append_text(header_item, ", Delay=%" PRIu64 "ns (%u.%03u,%03u,%03u sec)", + proto_item_append_text(header_item, ", Delay=%" G_GINT64_MODIFIER "uns (%u.%03u,%03u,%03u sec)", delayns, delayms / 1000, delayms % 1000, (delay10ns % (1000*100)) / 100, delay10ns % 100 * 10 + delay1ns); } else { - proto_item_append_text(header_item, ", Delay=%" PRIu64 "ns", + proto_item_append_text(header_item, ", Delay=%" G_GINT64_MODIFIER "uns", delayns); } } |