aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-dhcp-failover.c
diff options
context:
space:
mode:
authorulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>2004-08-15 11:25:35 +0000
committerulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>2004-08-15 11:25:35 +0000
commit03f15754d3f017c1ef03671f1fbcd9921cd66405 (patch)
tree9113144e2fd2b12512d9cfa74d9ef10af5eb8f56 /epan/dissectors/packet-dhcp-failover.c
parent1074fe7f1e4ae2b8778ded44c842f8023e9c1a0f (diff)
remove MSVC compiler warning (required a type cast)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@11741 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-dhcp-failover.c')
-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");