summaryrefslogtreecommitdiff
path: root/asn1/tetra
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 /asn1/tetra
parent594f1efcdd976386dcdd918a11271d353af76270 (diff)
downloadwireshark-e2996ceabe94206aae66b54caac53c7e35cb325d.tar.gz
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 'asn1/tetra')
-rw-r--r--asn1/tetra/packet-tetra-template.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/asn1/tetra/packet-tetra-template.c b/asn1/tetra/packet-tetra-template.c
index ac4a184768..8ec24d261f 100644
--- a/asn1/tetra/packet-tetra-template.c
+++ b/asn1/tetra/packet-tetra-template.c
@@ -502,7 +502,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;