aboutsummaryrefslogtreecommitdiffstats
path: root/epan
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2012-12-26 06:41:49 +0000
committerGuy Harris <guy@alum.mit.edu>2012-12-26 06:41:49 +0000
commit7f40879104fbe5fd232ac385e8156a0934d93fea (patch)
tree4a993b3e4311a978779e5e12f9ad9dfda9a28814 /epan
parent229ec8c5453c26e71899b84429e121fea38e1154 (diff)
Squelch a (Y2.038K) warning.
svn path=/trunk/; revision=46756
Diffstat (limited to 'epan')
-rw-r--r--epan/dissectors/packet-afp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-afp.c b/epan/dissectors/packet-afp.c
index a2d74b7575..5070f7e532 100644
--- a/epan/dissectors/packet-afp.c
+++ b/epan/dissectors/packet-afp.c
@@ -4063,7 +4063,7 @@ spotlight_date(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, gint offset,
for (i = 0; i < count; i++) {
query_data64 = spotlight_ntoh64(tvb, offset, encoding) >> 24;
- t.secs = query_data64 - SPOTLIGHT_TIME_DELTA;
+ t.secs = (time_t)(query_data64 - SPOTLIGHT_TIME_DELTA);
t.nsecs = 0;
proto_tree_add_time(tree, hf_afp_spotlight_date, tvb, offset, 8, &t);
offset += 8;