diff options
author | martinm <martinm@f5534014-38df-0310-8fa8-9805f1628bb7> | 2008-06-05 09:15:42 +0000 |
---|---|---|
committer | martinm <martinm@f5534014-38df-0310-8fa8-9805f1628bb7> | 2008-06-05 09:15:42 +0000 |
commit | a20cd73de9dceb1b5dfc4c73c49275d673e8f3bb (patch) | |
tree | 66966338546a86067756f53315bbb0555d923c3e /epan/dissectors/packet-umts_fp.c | |
parent | f766e595adc41222b706f8d9c3ef72bb95e705c7 (diff) |
Fix operator precedence problem.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@25430 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-umts_fp.c')
-rw-r--r-- | epan/dissectors/packet-umts_fp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-umts_fp.c b/epan/dissectors/packet-umts_fp.c index caf8145f4a..490a9ff3bb 100644 --- a/epan/dissectors/packet-umts_fp.c +++ b/epan/dissectors/packet-umts_fp.c @@ -1874,7 +1874,7 @@ int dissect_dch_rx_timing_deviation(packet_info *pinfo, proto_tree *tree, break; } extra_bits = tvb_get_guint8(tvb, offset) & - (bits_to_extend == 1) ? 0x01 : 0x3; + ((bits_to_extend == 1) ? 0x01 : 0x03); timing_deviation = (extra_bits << 8) | (timing_deviation); proto_item_append_text(timing_deviation_ti, " (extended to 0x%x)", |