summaryrefslogtreecommitdiff
path: root/epan/dissectors/packet-tpkt.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-tpkt.c')
-rw-r--r--epan/dissectors/packet-tpkt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-tpkt.c b/epan/dissectors/packet-tpkt.c
index a5750b5765..731ee01519 100644
--- a/epan/dissectors/packet-tpkt.c
+++ b/epan/dissectors/packet-tpkt.c
@@ -217,7 +217,7 @@ dissect_asciitpkt(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
int mgcp_version = 0;
int mgcp_reserved = 0;
volatile int length;
- tvbuff_t *next_tvb;
+ tvbuff_t *volatile next_tvb;
const char *saved_proto;
guint8 string[4];
/*
@@ -372,7 +372,7 @@ dissect_tpkt_encap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
int length_remaining;
int data_len;
volatile int length;
- tvbuff_t *next_tvb;
+ tvbuff_t *volatile next_tvb;
const char *saved_proto;
/*