From 8286ac511144e4f17d34eac9affb97e50646344a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Wed, 23 Jul 2014 15:25:44 +0200 Subject: Imported Upstream version 4.0.0 --- xsd/examples/cxx/parser/performance/time.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'xsd/examples/cxx/parser/performance/time.cxx') diff --git a/xsd/examples/cxx/parser/performance/time.cxx b/xsd/examples/cxx/parser/performance/time.cxx index d7c81ce..aca5c74 100644 --- a/xsd/examples/cxx/parser/performance/time.cxx +++ b/xsd/examples/cxx/parser/performance/time.cxx @@ -1,5 +1,4 @@ // file : examples/cxx/parser/performance/time.cxx -// author : Boris Kolpackov // 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 (v / 10000000ULL); nsec_ = static_cast ((v % 10000000ULL) * 100); -- cgit v1.2.3