summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--epan/dissectors/packet-mpeg-sect.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-mpeg-sect.h b/epan/dissectors/packet-mpeg-sect.h
index bc27465cb8..9c647da485 100644
--- a/epan/dissectors/packet-mpeg-sect.h
+++ b/epan/dissectors/packet-mpeg-sect.h
@@ -65,7 +65,7 @@
#define PACKET_MPEG_SECT_PI__SIZE 4
/* convert a byte that contains two 4bit BCD digits into a decimal value */
-#define MPEG_SECT_BCD44_TO_DEC(x) (((x&0xf0) >> 4) * 10 + (x&0x0f))
+#define MPEG_SECT_BCD44_TO_DEC(x) ((((x)&0xf0) >> 4) * 10 + ((x)&0x0f))
/*
* Used to read a date provided in MJD format into a utc_time structure