diff options
author | Guy Harris <guy@alum.mit.edu> | 2012-07-18 23:30:45 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2012-07-18 23:30:45 +0000 |
commit | bdf148e3eaa500b920e7c6f15b63f4eba563ab9d (patch) | |
tree | 5ae56fa80a7fcd78fc669cbfaca2014c7fb2a8ea /epan | |
parent | 9667a4703ba4e5330429dfed0ce384ec91e614a4 (diff) |
Fix non-proto_tree_add_item() calls passing an ENC_ value as the last
argument.
svn path=/trunk/; revision=43806
Diffstat (limited to 'epan')
-rw-r--r-- | epan/dissectors/packet-elcom.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-elcom.c b/epan/dissectors/packet-elcom.c index fadb65c658..b69f6bb3e7 100644 --- a/epan/dissectors/packet-elcom.c +++ b/epan/dissectors/packet-elcom.c @@ -344,7 +344,7 @@ dissect_datarequest(proto_item *ti_arg, gint ett_arg, tvbuff_t *tvb, gint arg_of case TC_RSP: - proto_tree_add_uint(tree, hf_elcom_datarequest_result, + proto_tree_add_item(tree, hf_elcom_datarequest_result, tvb, offset, 1, ENC_BIG_ENDIAN); offset++; @@ -377,7 +377,7 @@ dissect_datarequest(proto_item *ti_arg, gint ett_arg, tvbuff_t *tvb, gint arg_of if (tvb_length_remaining(tvb, offset) <= 0) return offset; - proto_tree_add_uint(tree, hf_elcom_datarequest_groupindex2, tvb, offset, 2, ENC_BIG_ENDIAN); + proto_tree_add_item(tree, hf_elcom_datarequest_groupindex2, tvb, offset, 2, ENC_BIG_ENDIAN); offset += 2; if (tvb_length_remaining(tvb, offset) <= 0) return offset; |