diff options
author | gerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7> | 2009-03-30 17:53:41 +0000 |
---|---|---|
committer | gerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7> | 2009-03-30 17:53:41 +0000 |
commit | 35bd0c487d6fc9e3e1e4a3d2fc1b9be915b4e2ba (patch) | |
tree | 0e3f16a0add6b20d5e2aa5b96b72813dfaceb3f7 /epan/dissectors/packet-gift.c | |
parent | 5a542923ae10b62730ecbc108aaae4e81d499f8c (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.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@27896 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-gift.c')
-rw-r--r-- | epan/dissectors/packet-gift.c | 4 |
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; } |