From 54b72021bbd152f07832dedd6b33bc62e3f01a0b Mon Sep 17 00:00:00 2001 From: Bill Meier Date: Mon, 24 Oct 2011 19:57:53 +0000 Subject: 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 --- epan/dissectors/packet-tn3270.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'epan/dissectors/packet-tn3270.c') diff --git a/epan/dissectors/packet-tn3270.c b/epan/dissectors/packet-tn3270.c index 9d246e62da..67b448282d 100644 --- a/epan/dissectors/packet-tn3270.c +++ b/epan/dissectors/packet-tn3270.c @@ -1570,7 +1570,7 @@ tn3270_add_hf_items(proto_tree *tn3270_tree, tvbuff_t *tvb, gint offset, fields[i].encoding); } else { proto_tree_add_bitmask(tn3270_tree, tvb, offset, fields[i].hf, - fields[i].bitmask_ett, fields[i].bitmask, FALSE); + fields[i].bitmask_ett, fields[i].bitmask, ENC_BIG_ENDIAN); } offset+=fields[i].length; } @@ -1712,7 +1712,7 @@ dissect_3270_field_attribute(proto_tree *tn3270_tree, tvbuff_t *tvb, gint offset proto_tree_add_bitmask(tn3270_tree, tvb, offset, hf_tn3270_field_attribute, - ett_tn3270_field_attribute, byte, FALSE); + ett_tn3270_field_attribute, byte, ENC_BIG_ENDIAN); offset++; return (offset - start); @@ -1736,7 +1736,7 @@ dissect_ccc(proto_tree *tn3270_tree, tvbuff_t *tvb, gint offset) proto_tree_add_bitmask(tn3270_tree, tvb, offset, hf_tn3270_ccc, - ett_tn3270_ccc, byte, FALSE); + ett_tn3270_ccc, byte, ENC_BIG_ENDIAN); offset++; return (offset - start); -- cgit v1.2.3