aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-gift.c
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2009-03-30 17:53:41 +0000
committerGerald Combs <gerald@wireshark.org>2009-03-30 17:53:41 +0000
commitc5f52b8fa0c143e45ac5f47bfa51bc6bd8d90e6d (patch)
tree0e3f16a0add6b20d5e2aa5b96b72813dfaceb3f7 /epan/dissectors/packet-gift.c
parent92ade75cd0214dc8c6da86e99a0797fcee42ee4c (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-gift.c')
-rw-r--r--epan/dissectors/packet-gift.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-gift.c b/epan/dissectors/packet-gift.c
index c27e450691..e8dcfb1f1e 100644
--- a/epan/dissectors/packet-gift.c
+++ b/epan/dissectors/packet-gift.c
@@ -108,8 +108,8 @@ dissect_gift(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
tokenlen, "Response Command: %s",
format_text(line, tokenlen));
}
- offset += next_token - line;
- linelen -= next_token - line;
+ offset += (gint) (next_token - line);
+ linelen -= (int) (next_token - line);
line = next_token;
}