aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/cpp/qps/server_async.cc
diff options
context:
space:
mode:
authorGravatar Yuxuan Li <yuxuanli@google.com>2017-05-08 06:18:52 +0000
committerGravatar Yuxuan Li <yuxuanli@google.com>2017-05-08 06:24:34 +0000
commit85d3a539053d6960473bc78a2818d94b7953c197 (patch)
tree50cf0f3ac985a5f14caf4e9cc63cca258fde5206 /test/cpp/qps/server_async.cc
parent87827e03aa01ba12829b88a775b946e32eadcf3a (diff)
change gpr_atm to int
Diffstat (limited to 'test/cpp/qps/server_async.cc')
-rw-r--r--test/cpp/qps/server_async.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/cpp/qps/server_async.cc b/test/cpp/qps/server_async.cc
index 4f0b1f54d7..812c80f1b7 100644
--- a/test/cpp/qps/server_async.cc
+++ b/test/cpp/qps/server_async.cc
@@ -157,7 +157,7 @@ class AsyncQpsServerTest final : public grpc::testing::Server {
int GetPollCount() override {
int count = 0;
for (auto cq = srv_cqs_.begin(); cq != srv_cqs_.end(); cq++) {
- count += (int)grpc_get_cq_poll_num((*cq)->cq());
+ count += grpc_get_cq_poll_num((*cq)->cq());
}
return count;
}