aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-tetra.c
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2011-10-06 16:50:13 +0000
committerBill Meier <wmeier@newsguy.com>2011-10-06 16:50:13 +0000
commite2996ceabe94206aae66b54caac53c7e35cb325d (patch)
treed377a635fd6375bfcf6aa79b35eb0df20984cc0c /epan/dissectors/packet-tetra.c
parent594f1efcdd976386dcdd918a11271d353af76270 (diff)
Convert 'encoding' parameter of certain proto_tree_add_item() calls in asn1 dissectors:
Specifically: Replace FALSE|0 and TRUE|1 by ENC_BIG_ENDIAN|ENC_LITTLE_ENDIAN as the encoding parameter for proto_tree_add_item() calls which directly reference an item in hf[] which has a type of: FT_UINT8 FT_UINT16 FT_UINT24 FT_UINT32 FT_UINT64 FT_INT8 FT_INT16 FT_INT24 FT_INT32 FT_INT64 FT_FLOAT FT_DOUBLE svn path=/trunk/; revision=39294
Diffstat (limited to 'epan/dissectors/packet-tetra.c')
-rw-r--r--epan/dissectors/packet-tetra.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-tetra.c b/epan/dissectors/packet-tetra.c
index fa03ef5762..527e6c0b60 100644
--- a/epan/dissectors/packet-tetra.c
+++ b/epan/dissectors/packet-tetra.c
@@ -9241,7 +9241,7 @@ dissect_tetra(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
/* Timer */
txtimer = tvb_get_letohl(tvb, offset);
- tetra_sub_item = proto_tree_add_item(tetra_header_tree, hf_tetra_timer, tvb, offset, 4, TRUE);
+ tetra_sub_item = proto_tree_add_item(tetra_header_tree, hf_tetra_timer, tvb, offset, 4, ENC_LITTLE_ENDIAN);
tslot = ((txtimer & 0x7800) >> 11);
if(tslot==4)
tslot = 3;