aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-dhcpv6.c
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2019-07-12 15:59:12 +0200
committerPeter Wu <peter@lekensteyn.nl>2019-08-14 20:10:45 +0000
commit81d2de9252e87de83963f3f3bbfe101c65582a90 (patch)
tree9f79539c3563c8c6290410bd6a24cc6e85a1c63d /epan/dissectors/packet-dhcpv6.c
parent0062c0d613fc24015d0a9854b2b0267d9b0470f2 (diff)
Try to fix Wpointer-sign warnings.
Change-Id: I52d24560d4061c996c25b290ee347cc55404c216 Reviewed-on: https://code.wireshark.org/review/33914 Tested-by: Petri Dish Buildbot Petri-Dish: Anders Broman <a.broman58@gmail.com> Reviewed-by: Peter Wu <peter@lekensteyn.nl>
Diffstat (limited to 'epan/dissectors/packet-dhcpv6.c')
-rw-r--r--epan/dissectors/packet-dhcpv6.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-dhcpv6.c b/epan/dissectors/packet-dhcpv6.c
index 7c9495214f..06021b81d1 100644
--- a/epan/dissectors/packet-dhcpv6.c
+++ b/epan/dissectors/packet-dhcpv6.c
@@ -2383,7 +2383,7 @@ dhcpv6_option(tvbuff_t *tvb, packet_info *pinfo, proto_tree *bp_tree,
break;
case OPTION_F_DNS_HOST_NAME:
{
- const guchar *dns_name;
+ const gchar *dns_name;
guint dns_name_len;
get_dns_name(tvb, off, optlen, off, &dns_name, &dns_name_len);
@@ -2392,7 +2392,7 @@ dhcpv6_option(tvbuff_t *tvb, packet_info *pinfo, proto_tree *bp_tree,
}
case OPTION_F_DNS_ZONE_NAME:
{
- const guchar *dns_name;
+ const gchar *dns_name;
guint dns_name_len;
get_dns_name(tvb, off, optlen, off, &dns_name, &dns_name_len);