summaryrefslogtreecommitdiff
path: root/xsd/examples/cxx/tree/performance/time.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xsd/examples/cxx/tree/performance/time.cxx')
-rw-r--r--xsd/examples/cxx/tree/performance/time.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/xsd/examples/cxx/tree/performance/time.cxx b/xsd/examples/cxx/tree/performance/time.cxx
index c2de6dc..6bec91b 100644
--- a/xsd/examples/cxx/tree/performance/time.cxx
+++ b/xsd/examples/cxx/tree/performance/time.cxx
@@ -1,5 +1,4 @@
// file : examples/cxx/tree/performance/time.cxx
-// author : Boris Kolpackov <boris@codesynthesis.com>
// copyright : not copyrighted - public domain
#include "time.hxx"
@@ -24,7 +23,7 @@ namespace os
FILETIME ft;
GetSystemTimeAsFileTime (&ft);
unsigned long long v (
- (unsigned long long (ft.dwHighDateTime) << 32) + ft.dwLowDateTime);
+ ((unsigned long long) (ft.dwHighDateTime) << 32) + ft.dwLowDateTime);
sec_ = static_cast<unsigned long> (v / 10000000ULL);
nsec_ = static_cast<unsigned long> ((v % 10000000ULL) * 100);