diff options
author | Bill Meier <wmeier@newsguy.com> | 2011-10-24 19:57:53 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2011-10-24 19:57:53 +0000 |
commit | 54b72021bbd152f07832dedd6b33bc62e3f01a0b (patch) | |
tree | f063f3e93347a88a2234d55ac390d7f8e39977bf /epan/dissectors/packet-tn5250.c | |
parent | 6a5895b2dee934c4e51d559eb77627ae8d71e25d (diff) |
Fix encoding arg for various fcn calls:
- proto_tree_add_bits_item
- proto_tree_add_bits_ret_val
- proto_tree_add_bitmask
- tvb_get_bits
- tvb_get_bits16
- tvb_get_bits24
- tvb_get_bits32
- tvb_get_bits64
svn path=/trunk/; revision=39539
Diffstat (limited to 'epan/dissectors/packet-tn5250.c')
-rw-r--r-- | epan/dissectors/packet-tn5250.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-tn5250.c b/epan/dissectors/packet-tn5250.c index 239d51067e..e5dd579b4d 100644 --- a/epan/dissectors/packet-tn5250.c +++ b/epan/dissectors/packet-tn5250.c @@ -2977,7 +2977,7 @@ tn5250_add_hf_items(proto_tree *tn5250_tree, tvbuff_t *tvb, gint offset, fields[i].length, fields[i].encoding); } else { proto_tree_add_bitmask(tn5250_tree, tvb, offset, fields[i].hf, - fields[i].bitmask_ett, fields[i].bitmask, FALSE); + fields[i].bitmask_ett, fields[i].bitmask, ENC_BIG_ENDIAN); } DISSECTOR_ASSERT(fields[i].length > 0); offset+=fields[i].length; @@ -3166,7 +3166,7 @@ dissect_field_attribute_pair(proto_tree *tn5250_tree, tvbuff_t *tvb, gint offset switch (attribute_type) { case EXTENDED_PRIMARY_ATTRIBUTES: proto_tree_add_bitmask(tn5250_tree, tvb, offset, hf_tn5250_wea_prim_attr, - ett_tn5250_wea_prim_attr, byte, FALSE); + ett_tn5250_wea_prim_attr, byte, ENC_BIG_ENDIAN); offset++; break; case EXTENDED_FOREGROUND_COLOR_ATTRIBUTES: @@ -3260,7 +3260,7 @@ dissect_start_of_field(proto_tree *tn5250_tree, tvbuff_t *tvb, gint offset) if (fa & FA_ID) { proto_tree_add_bitmask(tn5250_tree, tvb, offset, hf_tn5250_fa, - ett_tn5250_wea_prim_attr, fabyte, FALSE); + ett_tn5250_wea_prim_attr, fabyte, ENC_BIG_ENDIAN); offset++; } else { proto_tree_add_item(tn5250_tree, hf_tn5250_fa_color, tvb, offset, |