diff options
author | Noah Eisen <ncteisen@google.com> | 2018-02-09 10:23:30 -0800 |
---|---|---|
committer | ncteisen <ncteisen@gmail.com> | 2018-02-09 17:49:00 -0800 |
commit | e1bec40dfb8ff7562fc6a6dafb6d0369294e852f (patch) | |
tree | ca54df0049fbf0e519d4ec49699646d953e6c9fa /src/core/lib/iomgr/executor.cc | |
parent | 4d20a666850b732cf1562487fb5f46ab9654105f (diff) |
Manually fix build issue
Diffstat (limited to 'src/core/lib/iomgr/executor.cc')
-rw-r--r-- | src/core/lib/iomgr/executor.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/lib/iomgr/executor.cc b/src/core/lib/iomgr/executor.cc index 16782dacc5..7ab987c19e 100644 --- a/src/core/lib/iomgr/executor.cc +++ b/src/core/lib/iomgr/executor.cc @@ -190,7 +190,7 @@ static void executor_push(grpc_closure* closure, grpc_error* error, do { retry_push = false; size_t cur_thread_count = - static_cast<size_t> gpr_atm_no_barrier_load(&g_cur_threads); + static_cast<size_t>(gpr_atm_no_barrier_load(&g_cur_threads)); if (cur_thread_count == 0) { if (executor_trace.enabled()) { #ifndef NDEBUG @@ -258,7 +258,7 @@ static void executor_push(grpc_closure* closure, grpc_error* error, } if (try_new_thread && gpr_spinlock_trylock(&g_adding_thread_lock)) { cur_thread_count = - static_cast<size_t> gpr_atm_no_barrier_load(&g_cur_threads); + static_cast<size_t>(gpr_atm_no_barrier_load(&g_cur_threads)); if (cur_thread_count < g_max_threads) { gpr_atm_no_barrier_store(&g_cur_threads, cur_thread_count + 1); |