diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/fdstream/driver.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/fdstream/driver.cxx b/tests/fdstream/driver.cxx index 4a85526..58b7012 100644 --- a/tests/fdstream/driver.cxx +++ b/tests/fdstream/driver.cxx @@ -481,7 +481,7 @@ main (int argc, const char* argv[]) assert (nd.first == 1 && nd.second == 0 && rds[0].ready); for (streamsize n; (n = is.readsome (buf, sizeof (buf))) != 0; ) - r.append (buf, n); + r.append (buf, static_cast<size_t> (n)); } is.close (); |