diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2014-07-23 15:21:29 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2014-07-23 15:21:29 +0200 |
commit | bada6666c70977a058755ccf232e7d67b24adeed (patch) | |
tree | 1e92d50cebce96abaf9bce19e36026c47f77b9ba /xsd/examples/cxx/tree/performance/time.cxx | |
parent | eaf34adcbd8095bc6d1f3371b1227f654c7b19fc (diff) |
New upstream release
Diffstat (limited to 'xsd/examples/cxx/tree/performance/time.cxx')
-rw-r--r-- | xsd/examples/cxx/tree/performance/time.cxx | 3 |
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); |