aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-ip.c
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2012-09-14 14:40:47 +0000
committerAnders Broman <anders.broman@ericsson.com>2012-09-14 14:40:47 +0000
commitebda6f06b74af80d4d5b33224825628d1600e871 (patch)
tree1ae5caf2b13f153311af889f56dd18ff89910626 /epan/dissectors/packet-ip.c
parentffbacb51d25ea2eb33441121d19d7292936ec01d (diff)
Try to make the buildbot happy.
svn path=/trunk/; revision=44901
Diffstat (limited to 'epan/dissectors/packet-ip.c')
-rw-r--r--epan/dissectors/packet-ip.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-ip.c b/epan/dissectors/packet-ip.c
index 42f93be2ba..b4e69a7ff7 100644
--- a/epan/dissectors/packet-ip.c
+++ b/epan/dissectors/packet-ip.c
@@ -2409,7 +2409,7 @@ dissect_ip(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree)
}
static gboolean
-dissect_ip_heur(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data)
+dissect_ip_heur(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_)
{
int length, tot_length;
guint8 oct, version, ihl;
@@ -2440,7 +2440,7 @@ dissect_ip_heur(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data)
}
tot_length = tvb_get_ntohs(tvb,2);
- if(tot_length != tvb_reported_length(tvb)){
+ if(tot_length != (int)tvb_reported_length(tvb)){
return FALSE;
}