aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/gryphon
diff options
context:
space:
mode:
authorUlf Lamping <ulf.lamping@web.de>2004-01-05 19:31:44 +0000
committerUlf Lamping <ulf.lamping@web.de>2004-01-05 19:31:44 +0000
commit0d9679de8dd6536bf1d0c9664489f4c35b1e6270 (patch)
tree4bbb164018cdeecf66dacbbe39d03b005ddbcfa2 /plugins/gryphon
parentba3b94790d2d639559ef75632d0e92a9d040f0d7 (diff)
removed some MSVC warnings (level 3)
svn path=/trunk/; revision=9561
Diffstat (limited to 'plugins/gryphon')
-rw-r--r--plugins/gryphon/packet-gryphon.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/gryphon/packet-gryphon.c b/plugins/gryphon/packet-gryphon.c
index 785079d696..9ea1d83786 100644
--- a/plugins/gryphon/packet-gryphon.c
+++ b/plugins/gryphon/packet-gryphon.c
@@ -3,7 +3,7 @@
* By Steve Limkemann <stevelim@dgtech.com>
* Copyright 1998 Steve Limkemann
*
- * $Id: packet-gryphon.c,v 1.43 2003/11/04 18:37:32 guy Exp $
+ * $Id: packet-gryphon.c,v 1.44 2004/01/05 19:27:50 ulfl Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -919,7 +919,7 @@ resp_time(tvbuff_t *tvb, int offset, proto_tree *pt)
*/
ts.lng[1] = tvb_get_ntohl(tvb, offset);
ts.lng[0] = tvb_get_ntohl(tvb, offset + 4);
- timestamp = ts.lnglng / 100000L;
+ timestamp = (time_t) (ts.lnglng / 100000L);
strncpy (date, ctime(&timestamp), sizeof(date));
date[strlen(date)-1] = 0x00;
proto_tree_add_text(pt, tvb, offset, 8, "Date/Time: %s", date);