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:
Anders 2015-06-04 15:37:53 +02:00 committed by Anders Broman
parent 8d78077d0d
commit 505d3038fc
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}