aboutsummaryrefslogtreecommitdiff
path: root/tests/process
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2017-05-13 00:29:50 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2017-05-15 15:58:03 +0300
commitc4a9db2f981a03aecf5e9a60e6d27a6dc6dac159 (patch)
treeb40c731b0e1ebdc8abdafddfadc919b64baef8f0 /tests/process
parent041b2137f7351abc8d648ed6a0399feaf331af08 (diff)
Fix VC15 warnings (/W3)
Diffstat (limited to 'tests/process')
-rw-r--r--tests/process/driver.cxx7
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));