aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2017-05-13 15:44:34 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2017-05-13 15:44:34 +0300
commit48eca55918360bc5efe115833f2b17ad9bd4cd83 (patch)
treebb8559c72efc1fcad9bcf7953beb81bfa6975019 /examples
parent77949bf709b4c7ce6cd1efcee5f6aae27959570a (diff)
Fix VC15 warnings (/W3)
Diffstat (limited to 'examples')
-rw-r--r--examples/performance/driver.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/performance/driver.cxx b/examples/performance/driver.cxx
index 13295ad..238f5ad 100644
--- a/examples/performance/driver.cxx
+++ b/examples/performance/driver.cxx
@@ -29,7 +29,7 @@ main (int argc, char* argv[])
ifs.exceptions (ios_base::failbit);
ifs.open (argv[1], ios::in | ios::ate);
- size_t size (ifs.tellg ());
+ size_t size (static_cast<size_t> (ifs.tellg ()));
ifs.seekg (0, ios::beg);
char* buf = new char[size];