diff options
author | Yash Tibrewal <yashkt@google.com> | 2017-10-06 17:03:53 -0700 |
---|---|---|
committer | Yash Tibrewal <yashkt@google.com> | 2017-10-06 17:03:53 -0700 |
commit | 08708ae25d9855e7469abb2745352cc449541a9b (patch) | |
tree | c1b3d62633accfed7f7628b8d983201a31cd87ba /test/core/backoff | |
parent | 4b6af749e3cf8015065e3a3a66aab931acdc3296 (diff) |
backoff_test explicity conversion
Diffstat (limited to 'test/core/backoff')
-rw-r--r-- | test/core/backoff/backoff_test.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/core/backoff/backoff_test.c b/test/core/backoff/backoff_test.c index 3848b2a54d..a29cce6cc7 100644 --- a/test/core/backoff/backoff_test.c +++ b/test/core/backoff/backoff_test.c @@ -105,8 +105,9 @@ static void test_jitter_backoff(void) { const int64_t initial_timeout = 500; const double jitter = 0.1; grpc_backoff backoff; - grpc_backoff_init(&backoff, initial_timeout, 1.0 /* multiplier */, jitter, - 100 /* min timeout */, 1000 /* max timeout */); + grpc_backoff_init(&backoff, (grpc_millis)initial_timeout, + 1.0 /* multiplier */, jitter, 100 /* min timeout */, + 1000 /* max timeout */); backoff.rng_state = 0; // force consistent PRNG |