diff options
author | Guy Harris <guy@alum.mit.edu> | 2012-12-26 12:28:40 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2012-12-26 12:28:40 +0000 |
commit | 3dfac159219ed655469ab346d2e2540faf0ec5b8 (patch) | |
tree | 7c6296e0be3a1b7e66c7eb8b4c2f12949140cb33 /plugins/gryphon | |
parent | 6255cc03f0b02fa4bbb944474c9f83196110c9b2 (diff) |
Another 64-bit-to-32-bit warning on 32-bit platforms.
svn path=/trunk/; revision=46781
Diffstat (limited to 'plugins/gryphon')
-rw-r--r-- | plugins/gryphon/packet-gryphon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/gryphon/packet-gryphon.c b/plugins/gryphon/packet-gryphon.c index 0f21d49346..d1bc014ca1 100644 --- a/plugins/gryphon/packet-gryphon.c +++ b/plugins/gryphon/packet-gryphon.c @@ -1121,7 +1121,7 @@ resp_time(tvbuff_t *tvb, int offset, proto_tree *pt) nstime_t timestamp; val = tvb_get_ntoh64(tvb, offset); - timestamp.secs = val/100000; + timestamp.secs = (time_t)(val/100000); timestamp.nsecs = (int)((val%100000)*1000); proto_tree_add_time(pt, hf_gryphon_resp_time, tvb, offset, 8, ×tamp); |