aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-dect.c
diff options
context:
space:
mode:
authorjmayer <jmayer@f5534014-38df-0310-8fa8-9805f1628bb7>2009-06-22 06:29:32 +0000
committerjmayer <jmayer@f5534014-38df-0310-8fa8-9805f1628bb7>2009-06-22 06:29:32 +0000
commita734c369ec9e0dbde819c4565926c5d97eddc94e (patch)
tree71e56f6079700477dc7a421892eaf76f8b93a318 /epan/dissectors/packet-dect.c
parentc3fc2235e5b3dda1035318adc8173f60a8b3642f (diff)
Fix warning: always evaluates to true/false
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28805 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-dect.c')
-rw-r--r--epan/dissectors/packet-dect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-dect.c b/epan/dissectors/packet-dect.c
index a38cd41038..c8743bfd94 100644
--- a/epan/dissectors/packet-dect.c
+++ b/epan/dissectors/packet-dect.c
@@ -1642,7 +1642,7 @@ dissect_decttype(gboolean dect_packet_type, struct dect_afield *pkt_afield,
proto_tree_add_item(ATail, hf_dect_A_Tail_Mt_BasicConCtrl, tvb, offset, 1, FALSE);
offset++;
- if(((tail_0 && 0x0f)==6)||((tail_0 && 0x0f)==7))
+ if(((tail_0 & 0x0f)==6)||((tail_0 & 0x0f)==7))
{
proto_tree_add_uint_format(ATail, hf_dect_A_Tail_Mt_Mh, tvb, offset, 4, 0x2323, "here should be attributes...");
offset +=4;