diff options
author | Gerald Combs <gerald@wireshark.org> | 2009-03-30 17:53:41 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2009-03-30 17:53:41 +0000 |
commit | c5f52b8fa0c143e45ac5f47bfa51bc6bd8d90e6d (patch) | |
tree | 0e3f16a0add6b20d5e2aa5b96b72813dfaceb3f7 /epan/dissectors/packet-ftp.c | |
parent | 92ade75cd0214dc8c6da86e99a0797fcee42ee4c (diff) |
In packet-enttec.c and packet-fw1.c, replace string pointer tracking with a
string buffer. In packet-ftp.c and packet-gift.c, cast some size_t's.
svn path=/trunk/; revision=27896
Diffstat (limited to 'epan/dissectors/packet-ftp.c')
-rw-r--r-- | epan/dissectors/packet-ftp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-ftp.c b/epan/dissectors/packet-ftp.c index b03a826a59..b21a02b927 100644 --- a/epan/dissectors/packet-ftp.c +++ b/epan/dissectors/packet-ftp.c @@ -451,8 +451,8 @@ dissect_ftp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) next_token = line; } } - offset += next_token - line; - linelen -= next_token - line; + offset += (gint) (next_token - line); + linelen -= (int) (next_token - line); line = next_token; if (tree) { |