diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2017-05-13 00:29:50 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2017-05-15 15:58:03 +0300 |
commit | c4a9db2f981a03aecf5e9a60e6d27a6dc6dac159 (patch) | |
tree | b40c731b0e1ebdc8abdafddfadc919b64baef8f0 /tests/process | |
parent | 041b2137f7351abc8d648ed6a0399feaf331af08 (diff) |
Fix VC15 warnings (/W3)
Diffstat (limited to 'tests/process')
-rw-r--r-- | tests/process/driver.cxx | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/process/driver.cxx b/tests/process/driver.cxx index bdc5f4a..b154bce 100644 --- a/tests/process/driver.cxx +++ b/tests/process/driver.cxx @@ -294,8 +294,13 @@ main (int argc, const char* argv[]) v.reserve (5000 * 256); for (size_t i (0); i < 5000; ++i) { - for (size_t c (0); c < 256; ++c) + char c (numeric_limits<char>::min ()); + + do + { v.push_back (c); + } + while (c++ != numeric_limits<char>::max ()); } assert (exec (p, v, true, true)); |