aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--epan/dissectors/packet-dhcp-failover.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-dhcp-failover.c b/epan/dissectors/packet-dhcp-failover.c
index 2d734c4906..20c00ce73a 100644
--- a/epan/dissectors/packet-dhcp-failover.c
+++ b/epan/dissectors/packet-dhcp-failover.c
@@ -835,7 +835,7 @@ dissect_dhcpfo(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
case DHCP_FO_PD_MESSAGE_DIGEST:
- message_digest_type = tvb_get_ntohs(tvb,helpliste->actualpoffset+4);
+ message_digest_type = (guint8) tvb_get_ntohs(tvb,helpliste->actualpoffset+4);
if(message_digest_type == 1)
{
proto_item_append_text(oi, ", HMAC-MD5");