aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-dhcp-failover.c
diff options
context:
space:
mode:
authorUlf Lamping <ulf.lamping@web.de>2004-08-15 11:25:35 +0000
committerUlf Lamping <ulf.lamping@web.de>2004-08-15 11:25:35 +0000
commit60eb7df5b51c4544d42466b0ecb25691640793a6 (patch)
tree9113144e2fd2b12512d9cfa74d9ef10af5eb8f56 /epan/dissectors/packet-dhcp-failover.c
parenta626d0c168282a5c80c083259a780a9e1b4e43be (diff)
remove MSVC compiler warning (required a type cast)
svn path=/trunk/; revision=11741
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");