aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-usb-ccid.c
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2022-12-11 17:30:05 +0000
committerMartin Mathieson <martin.r.mathieson@googlemail.com>2022-12-13 14:16:11 +0000
commit594aaca250cab5e0c94a6457185ab74b84cdb6e6 (patch)
treed837cd57cc9a8e4f38c17e01c1744b429e17c556 /epan/dissectors/packet-usb-ccid.c
parent2fd04b6ba9d830cd1324572530237b6fea58f96e (diff)
usb-ccid: fix typo found by check_typed_item_calls
packet-usb-ccid.c:598 proto_tree_add_item called for hf_ccid_wLevelParameter - item type is FT_UINT8 but call has len 2
Diffstat (limited to 'epan/dissectors/packet-usb-ccid.c')
-rw-r--r--epan/dissectors/packet-usb-ccid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-usb-ccid.c b/epan/dissectors/packet-usb-ccid.c
index bec4392409..9665e57ea4 100644
--- a/epan/dissectors/packet-usb-ccid.c
+++ b/epan/dissectors/packet-usb-ccid.c
@@ -761,7 +761,7 @@ proto_register_ccid(void)
{ "Block Wait Time Integer", "usbccid.bBWI", FT_UINT8, BASE_HEX,
NULL, 0x0, NULL, HFILL }},
{&hf_ccid_wLevelParameter,
- { "Level Parameter", "usbccid.wLevelParameter", FT_UINT8, BASE_HEX,
+ { "Level Parameter", "usbccid.wLevelParameter", FT_UINT16, BASE_HEX,
NULL, 0x0, NULL, HFILL }},
{&hf_ccid_bcdCCID,
{ "bcdCCID", "usbccid.bcdCCID", FT_UINT16, BASE_HEX,