aboutsummaryrefslogtreecommitdiffstats
path: root/pcapio.c
diff options
context:
space:
mode:
authorMichael Tüxen <tuexen@fh-muenster.de>2009-04-27 05:53:02 +0000
committerMichael Tüxen <tuexen@fh-muenster.de>2009-04-27 05:53:02 +0000
commitf76f80ac314ffb479a4704d86a1d62eab093e990 (patch)
treef88847cabee55c3f02ee9ce1dccc6778dad46bb4 /pcapio.c
parentb8b67161c8b2755644a311c846e234e501653682 (diff)
Trying to make the Windows compiler happy.
svn path=/trunk/; revision=28168
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,