diff options
author | David Garcia Quintas <dgq@google.com> | 2015-09-11 13:33:57 -0700 |
---|---|---|
committer | David Garcia Quintas <dgq@google.com> | 2015-09-11 18:37:59 -0700 |
commit | a4c43a6cbb6554fe180e0d64dfa27f6b868b65d5 (patch) | |
tree | f18b8159289ec0652a219a016eefaaa86b600270 /test/core/fling/server.c | |
parent | 3924fcb1c0d0c2ae9fd2995da4ce79e903766fef (diff) | |
parent | 35fea62432d7a41b5b3bc96d9af7975310553fe7 (diff) |
Merge branch 'master' of github.com:grpc/grpc into rr_with_registry
Diffstat (limited to 'test/core/fling/server.c')
-rw-r--r-- | test/core/fling/server.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/core/fling/server.c b/test/core/fling/server.c index 0430ff9ab7..5aace03520 100644 --- a/test/core/fling/server.c +++ b/test/core/fling/server.c @@ -123,7 +123,7 @@ static void handle_unary_method(void) { op->data.recv_close_on_server.cancelled = &was_cancelled; op++; - error = grpc_call_start_batch(call, unary_ops, op - unary_ops, + error = grpc_call_start_batch(call, unary_ops, (size_t)(op - unary_ops), tag(FLING_SERVER_BATCH_OPS_FOR_UNARY), NULL); GPR_ASSERT(GRPC_CALL_OK == error); } @@ -197,7 +197,7 @@ int main(int argc, char **argv) { grpc_test_init(1, fake_argv); grpc_init(); - srand(clock()); + srand((unsigned)clock()); cl = gpr_cmdline_create("fling server"); gpr_cmdline_add_string(cl, "bind", "Bind host:port", &addr); |