Trying to make the Windows compiler happy.
authortuexen <tuexen@f5534014-38df-0310-8fa8-9805f1628bb7>
Mon, 27 Apr 2009 05:53:02 +0000 (05:53 +0000)
committertuexen <tuexen@f5534014-38df-0310-8fa8-9805f1628bb7>
Mon, 27 Apr 2009 05:53:02 +0000 (05:53 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28168 f5534014-38df-0310-8fa8-9805f1628bb7

pcapio.c

index d7fd562d883de4408f48e32399f3c5f156e7a679..8da246e46cc09a864f93d784c6ca306deaba1ba6 100644 (file)
--- 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,