aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-mpls.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2014-11-12 18:11:00 -0800
committerGuy Harris <guy@alum.mit.edu>2014-11-13 02:11:33 +0000
commitf598fa89ebaab21f445a84489a4080e9f98eec9c (patch)
tree9f3682224d55650a5a7bf5844b9b7361adbe442c /epan/dissectors/packet-mpls.c
parentf7d91bd29fe147598ea9a4d1eba340e71ef12e91 (diff)
Squelch a compiler warning.
Some compilers complain that we're casting a 16-bit integer to a pointer; making it a standard-size integer squelches the warning. Change-Id: Iba0e767d7801afdc369b64a1cf050bf8db37da7b Reviewed-on: https://code.wireshark.org/review/5264 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'epan/dissectors/packet-mpls.c')
-rw-r--r--epan/dissectors/packet-mpls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-mpls.c b/epan/dissectors/packet-mpls.c
index c8279c8cfd..7346865c50 100644
--- a/epan/dissectors/packet-mpls.c
+++ b/epan/dissectors/packet-mpls.c
@@ -356,7 +356,7 @@ static void
dissect_pw_ach(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
{
tvbuff_t *next_tvb;
- guint16 channel_type;
+ guint channel_type;
if (tvb_reported_length_remaining(tvb, 0) < 4) {
proto_tree_add_text(tree, tvb, 0, -1, "Error processing Message");