aboutsummaryrefslogtreecommitdiffstats
path: root/packet-smb.c
diff options
context:
space:
mode:
authorUlf Lamping <ulf.lamping@web.de>2003-12-28 12:43:40 +0000
committerUlf Lamping <ulf.lamping@web.de>2003-12-28 12:43:40 +0000
commitcb2658031d74ef76562b9f1cbc608730a59a8e99 (patch)
tree11c64c88937076d1f0e632fc0e891ab2caafb002 /packet-smb.c
parentc6852ab62587382f53d22c7e9c4fb46e2d5333eb (diff)
removed some MSVC warnings (warning level 2)
svn path=/trunk/; revision=9459
Diffstat (limited to 'packet-smb.c')
-rw-r--r--packet-smb.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/packet-smb.c b/packet-smb.c
index eec564cd96..f976f8a3aa 100644
--- a/packet-smb.c
+++ b/packet-smb.c
@@ -3,7 +3,7 @@
* Copyright 1999, Richard Sharpe <rsharpe@ns.aus.com>
* 2001 Rewrite by Ronnie Sahlberg and Guy Harris
*
- * $Id: packet-smb.c,v 1.379 2003/12/18 00:18:54 guy Exp $
+ * $Id: packet-smb.c,v 1.380 2003/12/28 12:43:38 ulfl Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -1255,8 +1255,8 @@ nt_time_to_nstime(guint32 filetime_high, guint32 filetime_low, nstime_t *tv)
/*
* Get the time as seconds and nanoseconds.
*/
- tv->secs = d;
- tv->nsecs = (d - tv->secs)*1000000000;
+ tv->secs = (time_t) d;
+ tv->nsecs = (int) ((d - tv->secs)*1000000000);
return TRUE;
}