diff options
author | Bill Meier <wmeier@newsguy.com> | 2011-10-23 18:48:50 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2011-10-23 18:48:50 +0000 |
commit | 4748747a51659bc1c9569d3a25b276ff72754c1b (patch) | |
tree | 2b6eed575ff4a611e45f4d63bc245cab023be954 /epan/dissectors/packet-usb-hid.c | |
parent | f169a2063f972d7a431aa2a0bf81077b33f2b460 (diff) |
Fix a few proto_tree_add_item() encoding args.
svn path=/trunk/; revision=39519
Diffstat (limited to 'epan/dissectors/packet-usb-hid.c')
-rw-r--r-- | epan/dissectors/packet-usb-hid.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-usb-hid.c b/epan/dissectors/packet-usb-hid.c index d776bbd40b..1a6fbbab63 100644 --- a/epan/dissectors/packet-usb-hid.c +++ b/epan/dissectors/packet-usb-hid.c @@ -494,9 +494,9 @@ dissect_usb_hid_report_item(packet_info *pinfo _U_, proto_tree *parent_tree, tvb item = proto_tree_add_text(subtree, tvb, offset, 1, "Header"); tree = proto_item_add_subtree(item, ett_usb_hid_item_header); - proto_tree_add_item(tree, hf_usb_hid_item_bSize, tvb, offset, 1, ENC_LITTLE_ENDIAN); - proto_tree_add_item(tree, hf_usb_hid_item_bType, tvb, offset, 1, ENC_LITTLE_ENDIAN); - proto_tree_add_item(tree, hf_usb_hid_curitem_bTag, tvb, offset, 1, TRUE); + proto_tree_add_item(tree, hf_usb_hid_item_bSize, tvb, offset, 1, ENC_LITTLE_ENDIAN); + proto_tree_add_item(tree, hf_usb_hid_item_bType, tvb, offset, 1, ENC_LITTLE_ENDIAN); + proto_tree_add_item(tree, hf_usb_hid_curitem_bTag, tvb, offset, 1, ENC_LITTLE_ENDIAN); offset++; if ((bType == 3) && (bTag == 16)) { /* Long item */ |