diff options
author | Michael Tüxen <tuexen@fh-muenster.de> | 2009-04-27 05:53:02 +0000 |
---|---|---|
committer | Michael Tüxen <tuexen@fh-muenster.de> | 2009-04-27 05:53:02 +0000 |
commit | f76f80ac314ffb479a4704d86a1d62eab093e990 (patch) | |
tree | f88847cabee55c3f02ee9ce1dccc6778dad46bb4 /pcapio.c | |
parent | b8b67161c8b2755644a311c846e234e501653682 (diff) |
Trying to make the Windows compiler happy.
svn path=/trunk/; revision=28168
Diffstat (limited to 'pcapio.c')
-rw-r--r-- | pcapio.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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, |