summaryrefslogtreecommitdiff
path: root/epan/dissectors/packet-acap.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2009-03-18 20:42:59 +0000
committerGuy Harris <guy@alum.mit.edu>2009-03-18 20:42:59 +0000
commitfd7d6fdc0316d0623aca70796696072a8ef38b10 (patch)
tree8728e4919aa5dba0f7af3893c4707b6605cb5947 /epan/dissectors/packet-acap.c
parente98e65977ff677ba1e6dc6e93f67ee840bc91a8f (diff)
downloadwireshark-fd7d6fdc0316d0623aca70796696072a8ef38b10.tar.gz
Get rid of some P64 warnings; those lengths should never be > 2^31-1.
svn path=/trunk/; revision=27782
Diffstat (limited to 'epan/dissectors/packet-acap.c')
-rw-r--r--epan/dissectors/packet-acap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-acap.c b/epan/dissectors/packet-acap.c
index b402fca22f..c788943c46 100644
--- a/epan/dissectors/packet-acap.c
+++ b/epan/dissectors/packet-acap.c
@@ -129,8 +129,8 @@ dissect_acap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
tokenlen, "Response Tag: %s",
format_text(line, tokenlen));
}
- offset += next_token - line;
- linelen -= next_token - line;
+ offset += (int)(next_token - line);
+ linelen -= (int)(next_token - line);
line = next_token;
}