aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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,