URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=688ba9c5f018de08e2bf8a2c9ec2099ba8841e06
Submitter: "Guy Harris <gharris@xxxxxxxxx>"
Changed: branch: master
Repository: wireshark
Commits:
688ba9c by Guy Harris (gharris@xxxxxxxxx):
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 <gharris@xxxxxxxxx>
Tested-by: Petri Dish Buildbot
Reviewed-by: Guy Harris <gharris@xxxxxxxxx>
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(-)