aboutsummaryrefslogtreecommitdiffstats
path: root/epan
diff options
context:
space:
mode:
authorMartin Kaiser <wireshark@kaiser.cx>2014-07-15 00:57:08 +0200
committerMartin Kaiser <wireshark@kaiser.cx>2014-07-19 12:20:04 +0000
commit6885cc71d3ef09a5b79123fda31ffaa39a49fc5f (patch)
treed40abb2665318fcc466003fa7a40e6be96444b21 /epan
parent831c1f2fe1586c7d8d5aa9767033ccba8b64da91 (diff)
use gboolean for detected_drop
Change-Id: Ice0c68541604c5566cc807c17faf534cd6628262 Reviewed-on: https://code.wireshark.org/review/3117 Reviewed-by: Martin Kaiser <wireshark@kaiser.cx>
Diffstat (limited to 'epan')
-rw-r--r--epan/dissectors/packet-mp2t.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-mp2t.c b/epan/dissectors/packet-mp2t.c
index 2f0d0e5cc2..de0709a714 100644
--- a/epan/dissectors/packet-mp2t.c
+++ b/epan/dissectors/packet-mp2t.c
@@ -837,7 +837,7 @@ detect_cc_drops(tvbuff_t *tvb, proto_tree *tree, packet_info *pinfo,
frame_analysis_data_t *frame_analysis_data_p = NULL;
proto_item *flags_item;
- guint32 detected_drop = 0;
+ gboolean detected_drop = FALSE;
guint32 skips = 0;
/* The initial sequencial processing stage */
@@ -862,7 +862,7 @@ detect_cc_drops(tvbuff_t *tvb, proto_tree *tree, packet_info *pinfo,
/* Detect if CC is not increasing by one all the time */
if (cc_curr != ((cc_prev+1) & MP2T_CC_MASK)) {
- detected_drop = 1;
+ detected_drop = TRUE;
skips = calc_skips(cc_curr, cc_prev);
@@ -903,7 +903,7 @@ detect_cc_drops(tvbuff_t *tvb, proto_tree *tree, packet_info *pinfo,
if (ts_data) {
if (ts_data->skips > 0) {
- detected_drop = 1;
+ detected_drop = TRUE;
cc_prev = ts_data->cc_prev;
skips = ts_data->skips;
}