summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2008-01-24 22:51:17 +0000
committerStig Bjørlykke <stig@bjorlykke.org>2008-01-24 22:51:17 +0000
commitc2f444f65691cbc3f5dd93d4f898c3bfff6f9f2b (patch)
tree572dec69920ec7fcb34aff721f18ab159cb46df3
parentc785bbf55817a91663f8aace883293ab760694aa (diff)
downloadwireshark-c2f444f65691cbc3f5dd93d4f898c3bfff6f9f2b.tar.gz
Added some parantheses to avoid a warning.
svn path=/trunk/; revision=24187
-rw-r--r--epan/dissectors/packet-gsm_a.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-gsm_a.c b/epan/dissectors/packet-gsm_a.c
index 8438e95ea6..1f2d8272f2 100644
--- a/epan/dissectors/packet-gsm_a.c
+++ b/epan/dissectors/packet-gsm_a.c
@@ -3736,13 +3736,13 @@ de_mid(tvbuff_t *tvb, proto_tree *tree, guint32 offset, guint len, gchar *add_st
/* MBMS Service ID (octet 4, 5 and 6) */
proto_tree_add_item(tree, hf_gsm_a_mbs_service_id, tvb, offset, 1, FALSE);
curr_offset += 3;
- if(oct&0x10==0x10){
+ if((oct&0x10)==0x10){
/* MCC/MNC*/
/* MCC, Mobile country code (octet 6a, octet 6b bits 1 to 4)*/
/* MNC, Mobile network code (octet 6b bits 5 to 8, octet 6c) */
curr_offset += 3;
}
- if(oct&0x20==0x20){
+ if((oct&0x20)==0x20){
/* MBMS Session Identity (octet 7)
* The MBMS Session Identity field is encoded as the value part
* of the MBMS Session Identity IE as specified in 3GPP TS 48.018 [86].