summaryrefslogtreecommitdiff
path: root/xsd/examples/cxx/tree/performance/time.cxx
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2014-07-23 15:21:29 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2014-07-23 15:21:29 +0200
commitbada6666c70977a058755ccf232e7d67b24adeed (patch)
tree1e92d50cebce96abaf9bce19e36026c47f77b9ba /xsd/examples/cxx/tree/performance/time.cxx
parenteaf34adcbd8095bc6d1f3371b1227f654c7b19fc (diff)
New upstream release
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);