diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2009-04-03 19:02:38 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2009-04-03 19:02:38 +0000 |
commit | cd7a395205fdd1ddfe4537fbba0e6559089d8a2c (patch) | |
tree | eb5bf5c0fd6abd98ca9a65f3a3e5b8f0f5cbf882 /epan/dissectors/packet-socks.c | |
parent | daef6576c3d3b9cd1a6d063f6f016a6445c9238a (diff) |
size_t fix (you're not going to get more than 2^31-1 bytes there).
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@27952 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-socks.c')
-rw-r--r-- | epan/dissectors/packet-socks.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-socks.c b/epan/dissectors/packet-socks.c index e05155e7ba..b39bdf58a6 100644 --- a/epan/dissectors/packet-socks.c +++ b/epan/dissectors/packet-socks.c @@ -966,7 +966,7 @@ display_ping_and_tracert(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tr while (data < dataend) { lineend = find_line_end(data, dataend, &eol); - linelen = lineend - data; + linelen = (int)(lineend - data); proto_tree_add_text( tree, tvb, offset, linelen, "%s", format_text(data, linelen)); |