diff options
author | Anders Broman <anders.broman@ericsson.com> | 2019-07-12 15:59:12 +0200 |
---|---|---|
committer | Peter Wu <peter@lekensteyn.nl> | 2019-08-14 20:10:45 +0000 |
commit | 81d2de9252e87de83963f3f3bbfe101c65582a90 (patch) | |
tree | 9f79539c3563c8c6290410bd6a24cc6e85a1c63d /epan/dissectors/packet-dhcp.c | |
parent | 0062c0d613fc24015d0a9854b2b0267d9b0470f2 (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-dhcp.c')
-rw-r--r-- | epan/dissectors/packet-dhcp.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/epan/dissectors/packet-dhcp.c b/epan/dissectors/packet-dhcp.c index 3ab58ab954..3d52b60266 100644 --- a/epan/dissectors/packet-dhcp.c +++ b/epan/dissectors/packet-dhcp.c @@ -2449,8 +2449,8 @@ dissect_dhcpopt_client_full_domain_name(tvbuff_t *tvb, packet_info *pinfo, proto }; guint8 fqdn_flags; int offset = 0, length = tvb_reported_length(tvb); - const guchar *dns_name; - guint dns_name_len; + const gchar *dns_name; + guint dns_name_len; if (length < 3) { expert_add_info_format(pinfo, tree, &ei_dhcp_bad_length, "length isn't >= 3"); @@ -2774,8 +2774,8 @@ static int dissect_dhcpopt_dhcp_domain_search(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, void* data _U_) { int length = tvb_reported_length(tvb); - const guchar *dns_name; - guint dns_name_len; + const gchar *dns_name; + guint dns_name_len; /* Encoding Long Options in the Dynamic Host Configuration Protocol (DHCPv4) (RFC 3396) */ /* Domain Names - Implementation And Specification (RFC 1035) */ @@ -2829,8 +2829,8 @@ static int dissect_dhcpopt_sip_servers(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data _U_) { int length = tvb_reported_length(tvb); - const guchar *dns_name; - guint dns_name_len; + const gchar *dns_name; + guint dns_name_len; /* Encoding Long Options in the Dynamic Host Configuration Protocol (DHCPv4) (RFC 3396) */ /* Domain Names - Implementation And Specification (RFC 1035) */ @@ -3082,7 +3082,7 @@ static int dissect_dhcpopt_rdnss(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data _U_) { int offset = 0; - const guchar *dns_name; + const gchar *dns_name; guint dns_name_len; if (tvb_reported_length(tvb) < 10) { @@ -6603,7 +6603,7 @@ dissect_packetcable_ietf_ccc(packet_info *pinfo, proto_item *v_ti, proto_tree *v proto_tree *pkt_s_tree; proto_item *vti; int max_timer_val = 255; - const guchar *dns_name; + const gchar *dns_name; guint dns_name_len; subopt = tvb_get_guint8(tvb, suboptoff); |