URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=688ba9c5f018de08e2bf8a2c9ec2099ba8841e06 Submitter: "Guy Harris <ghar...@sonic.net>" Changed: branch: master Repository: wireshark
Commits: 688ba9c by Guy Harris (ghar...@sonic.net): usb: use proto_tree_add_item() and proto_tree_add_item_ret_{u}int(). We now have ENC_HOST_ENDIAN, so we can use it to add host-endian fields with proto_tree_add_item(). Instead of fetching field values directly, use proto_tree_add_item_ret_{}int() to get the value. Change-Id: I96b9a55174594bf04f805af559c2521cd813e8f3 Reviewed-on: https://code.wireshark.org/review/38021 Petri-Dish: Guy Harris <ghar...@sonic.net> Tested-by: Petri Dish Buildbot Reviewed-by: Guy Harris <ghar...@sonic.net> Actions performed: from b4c08d1 USB: Make iso_status variable a gint. add 688ba9c usb: use proto_tree_add_item() and proto_tree_add_item_ret_{u}int(). Summary of changes: epan/dissectors/packet-usb.c | 52 +++++++++++++++++--------------------------- 1 file changed, 20 insertions(+), 32 deletions(-) ___________________________________________________________________________ Sent via: Wireshark-commits mailing list <wireshark-commits@wireshark.org> Archives: https://www.wireshark.org/lists/wireshark-commits Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-commits mailto:wireshark-commits-requ...@wireshark.org?subject=unsubscribe