forked from osmocom/wireshark
packet-pmproxy.c:94: warning: implicit conversion shortens 64-bit value
into a 32-bit value Change-Id: Ib741ad1c4f237ca921c01c86a521a238cdf25e8f Reviewed-on: https://code.wireshark.org/review/8761 Reviewed-by: Anders Broman <a.broman58@gmail.com>
This commit is contained in:
parent
8d78077d0d
commit
505d3038fc
|
@ -91,7 +91,7 @@ static int dissect_proxy_to_host(tvbuff_t *tvb, packet_info *pinfo, proto_tree *
|
|||
host = host_and_port[0];
|
||||
port = host_and_port[1];
|
||||
proto_tree_add_string(tree, hf_pmproxy_host, tvb, offset, (guint32)strlen(host), host);
|
||||
offset += strlen(host) + PMPROXY_HOST_AND_PORT_DELIMETER_LENGTH;
|
||||
offset += (int)strlen(host) + PMPROXY_HOST_AND_PORT_DELIMETER_LENGTH;
|
||||
proto_tree_add_string(tree, hf_pmproxy_port, tvb, offset, (guint32)strlen(port), port);
|
||||
col_append_fstr(pinfo->cinfo, COL_INFO, " Host=%s, Port=%s", host, port);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue