aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-nflog.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2012-12-26 10:30:34 +0000
committerGuy Harris <guy@alum.mit.edu>2012-12-26 10:30:34 +0000
commit852ee349554becfa759235d600ebc6f657598bd0 (patch)
tree50b3d24c9d389bb011e1706369501a12f33df2d3 /epan/dissectors/packet-nflog.c
parentc1245c6b32307a72245828d07294d2e9d53396b2 (diff)
Another 64-bit-to-32-bit warning that shows up in 32-bit environments.
svn path=/trunk/; revision=46766
Diffstat (limited to 'epan/dissectors/packet-nflog.c')
-rw-r--r--epan/dissectors/packet-nflog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-nflog.c b/epan/dissectors/packet-nflog.c
index 9ae9548dd5..3cb9296ca5 100644
--- a/epan/dissectors/packet-nflog.c
+++ b/epan/dissectors/packet-nflog.c
@@ -286,7 +286,7 @@ dissect_nflog(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
if (value_len == 16) {
nstime_t ts;
- ts.secs = tvb_get_ntoh64(tvb, offset + 4);
+ ts.secs = (time_t)tvb_get_ntoh64(tvb, offset + 4);
/* XXX - add an "expert info" warning if this is >= 10^9? */
ts.nsecs = (int)tvb_get_ntoh64(tvb, offset + 12);
proto_tree_add_time(tlv_tree, hf_nflog_tlv_timestamp,