diff options
author | Anders <anders.broman@ericsson.com> | 2015-06-04 15:37:53 +0200 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2015-06-04 13:39:28 +0000 |
commit | 505d3038fca41575094a91eba93f5b928eb30349 (patch) | |
tree | f08bf32f9843a11de24b6730b207c84485735e82 /epan/dissectors/packet-pmproxy.c | |
parent | 8d78077d0d931c6afee6d0e27b5df7c5477e21e5 (diff) |
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>
Diffstat (limited to 'epan/dissectors/packet-pmproxy.c')
-rw-r--r-- | epan/dissectors/packet-pmproxy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-pmproxy.c b/epan/dissectors/packet-pmproxy.c index b5e9765474..0398227fda 100644 --- a/epan/dissectors/packet-pmproxy.c +++ b/epan/dissectors/packet-pmproxy.c @@ -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); } |