diff options
author | 2018-02-09 09:16:55 -0800 | |
---|---|---|
committer | 2018-02-09 09:16:55 -0800 | |
commit | be82e64b3debcdb1d9ec6a149fc85af0d46bfb7e (patch) | |
tree | cc5e1234073eb250a2c319b5a4db2919fce060ea /test/cpp/qps/server.h | |
parent | 194436342137924b4fb7429bede037a4b5ec7edb (diff) |
Autofix c casts to c++ casts
Diffstat (limited to 'test/cpp/qps/server.h')
-rw-r--r-- | test/cpp/qps/server.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/cpp/qps/server.h b/test/cpp/qps/server.h index 9da33566dd..d772e709de 100644 --- a/test/cpp/qps/server.h +++ b/test/cpp/qps/server.h @@ -84,7 +84,7 @@ class Server { } payload->set_type(type); // Don't waste time creating a new payload of identical size. - if (payload->body().length() != (size_t)size) { + if (payload->body().length() != static_cast<size_t>(size)) { std::unique_ptr<char[]> body(new char[size]()); payload->set_body(body.get(), size); } |