diff options
author | Sake Blok <sake@euronet.nl> | 2011-07-14 22:03:13 +0000 |
---|---|---|
committer | Sake Blok <sake@euronet.nl> | 2011-07-14 22:03:13 +0000 |
commit | 0eacf5ab26da3202484e2977e312aa300e8a656c (patch) | |
tree | 10751789f3482935f8f5b3c523e7427bf9c735d9 /epan/dissectors/packet-icmp.c | |
parent | df0c70c97ce1847837310e3d101b4c1bb253bfc6 (diff) | |
download | wireshark-0eacf5ab26da3202484e2977e312aa300e8a656c.tar.gz |
Make windows buildbot happy (hopefully!)
svn path=/trunk/; revision=38030
Diffstat (limited to 'epan/dissectors/packet-icmp.c')
-rw-r--r-- | epan/dissectors/packet-icmp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-icmp.c b/epan/dissectors/packet-icmp.c index 0e8afc4654..b631767564 100644 --- a/epan/dissectors/packet-icmp.c +++ b/epan/dissectors/packet-icmp.c @@ -1039,7 +1039,7 @@ dissect_icmp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) */ ts.secs = tvb_get_ntohl(tvb,8); ts.nsecs = tvb_get_ntohl(tvb,8+4); /* Leave at microsec resolution for now */ - if (abs(ts.secs - pinfo->fd->abs_ts.secs)<3600*24 && + if (abs((guint32)(ts.secs - pinfo->fd->abs_ts.secs))<3600*24 && ts.nsecs < 1000000) { ts.nsecs *= 1000; /* Convert to nanosec resolution */ proto_tree_add_time(icmp_tree, hf_icmp_data_time, tvb, 8, 8, &ts); |