From 5a43799a17572c9a9962dc76fd681a14bb7689de Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Tue, 29 May 2007 18:52:42 +0000 Subject: 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. svn path=/trunk/; revision=21990 --- epan/dissectors/packet-frame.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'epan/dissectors/packet-frame.c') diff --git a/epan/dissectors/packet-frame.c b/epan/dissectors/packet-frame.c index 8e5859a095..a5154dee1b 100644 --- a/epan/dissectors/packet-frame.c +++ b/epan/dissectors/packet-frame.c @@ -268,7 +268,7 @@ dissect_frame(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree) if (show_file_off) { proto_tree_add_int64_format(fh_tree, hf_frame_file_off, tvb, 0, 0, pinfo->fd->file_off, - "File Offset: %" PRId64 " (0x%" PRIx64 ")", + "File Offset: %" G_GINT64_MODIFIER "d (0x%" G_GINT64_MODIFIER "x)", pinfo->fd->file_off, pinfo->fd->file_off); } -- cgit v1.2.3