aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-lldp.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-lldp.c')
-rw-r--r--epan/dissectors/packet-lldp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-lldp.c b/epan/dissectors/packet-lldp.c
index 5b72c42a7a..64e127b790 100644
--- a/epan/dissectors/packet-lldp.c
+++ b/epan/dissectors/packet-lldp.c
@@ -2068,7 +2068,7 @@ dissect_organizational_specific_tlv(tvbuff_t *tvb, packet_info *pinfo, proto_tre
dissect_ieee_802_3_tlv(tvb, pinfo, org_tlv_tree, (offset+5));
break;
case OUI_MEDIA_ENDPOINT:
- dissect_media_tlv(tvb, pinfo, org_tlv_tree, (offset+5), (tempLen-3));
+ dissect_media_tlv(tvb, pinfo, org_tlv_tree, (offset+5), (guint16) (tempLen-3));
break;
}