aboutsummaryrefslogtreecommitdiffstats
path: root/pcapio.c
diff options
context:
space:
mode:
authortuexen <tuexen@f5534014-38df-0310-8fa8-9805f1628bb7>2009-04-27 05:53:02 +0000
committertuexen <tuexen@f5534014-38df-0310-8fa8-9805f1628bb7>2009-04-27 05:53:02 +0000
commite3e6bc47fea882bbd91ff018da748331332e82d1 (patch)
treef88847cabee55c3f02ee9ce1dccc6778dad46bb4 /pcapio.c
parenta794bcaf4e0a85ce61789a50d354de6d1b61e6e7 (diff)
Trying to make the Windows compiler happy.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28168 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'pcapio.c')
-rw-r--r--pcapio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pcapio.c b/pcapio.c
index d7fd562d88..8da246e46c 100644
--- a/pcapio.c
+++ b/pcapio.c
@@ -433,8 +433,8 @@ libpcap_write_interface_statistics_block(FILE *fp,
* to guint32 so that the sign bit doesn't get treated specially.
*/
GetSystemTimeAsFileTime(&now);
- timestamp = ((guint64)(guint32)now.dwHighDateTime) << 32 +
- (guint32)now.dwLowDateTime;
+ timestamp = (((guint64)(guint32)now.dwHighDateTime) << 32) +
+ (guint32)now.dwLowDateTime;
/*
* Convert to same thing but as 1-microsecond, i.e. 1000-nanosecond,