ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-dev: Re: [Wireshark-dev] [Wireshark-commits] rev 25096: /trunk/epan/dissectors/ /trun

From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Thu, 17 Apr 2008 09:55:39 -0700
Jeff Morriss wrote:
%llx doesn't work it should be:

Index: request.cnf.c
===================================================================
--- request.cnf.c       (revision 25096)
+++ request.cnf.c       (working copy)
@@ -227,7 +227,7 @@
         old_offset = offset;
         folder_id = tvb_get_letoh64(tvb, offset);
         offset += 8;
- proto_tree_add_text(tree, tvb, old_offset, offset - old_offset, "folder ID: 0x%llx", folder_id); + proto_tree_add_text(tree, tvb, old_offset, offset - old_offset, "folder ID: 0x%" G_GINT64_MODIFIER "x", folder_id);

Checked in...

But I can't figure out how to build this stuff... (OK, I did get it built but there are a _lot_ of changes to the resulting .c file that I didn't intend.)

...along with a manual change to the generated dissector matching the change to request.cnf.c.