From fea8db080353e408a38ad9b66b50b1c9dfaf96de Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Sat, 19 Dec 2020 17:12:05 +0300 Subject: Various fixes --- xsd-examples/cxx/tree/performance/serialization.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'xsd-examples/cxx/tree/performance/serialization.cxx') diff --git a/xsd-examples/cxx/tree/performance/serialization.cxx b/xsd-examples/cxx/tree/performance/serialization.cxx index e81fcbd..e691b82 100644 --- a/xsd-examples/cxx/tree/performance/serialization.cxx +++ b/xsd-examples/cxx/tree/performance/serialization.cxx @@ -105,7 +105,8 @@ serialization (const char* file, unsigned long iter) cerr << " time: " << time << " sec" << endl; - double ms (time.sec () * 1000000ULL + time.nsec () / 1000ULL); + double ms (static_cast ( + time.sec () * 1000000ULL + time.nsec () / 1000ULL)); // Calculate throughput in documents/sec. // -- cgit v1.1