diff options
author | Craig Tiller <ctiller@google.com> | 2017-04-29 14:56:13 -0700 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2017-04-29 14:56:13 -0700 |
commit | 570fad827c345bf2ba7ae682fdb68c14d0e9833e (patch) | |
tree | 29f879c3cbcaadd00ad258a5270f445b8c733bbe /test/cpp/thread_manager | |
parent | 365c52b47e8d322dfc0bdf15ddea2b598f3b4dbb (diff) |
Fix printf format
Diffstat (limited to 'test/cpp/thread_manager')
-rw-r--r-- | test/cpp/thread_manager/thread_manager_test.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/cpp/thread_manager/thread_manager_test.cc b/test/cpp/thread_manager/thread_manager_test.cc index 35c8d5d088..e1a03666f0 100644 --- a/test/cpp/thread_manager/thread_manager_test.cc +++ b/test/cpp/thread_manager/thread_manager_test.cc @@ -118,7 +118,7 @@ void ThreadManagerTest::PerformTest() { // The number of times DoWork() was called is equal to the number of times // WORK_FOUND was returned - gpr_log(GPR_DEBUG, "DoWork() called %ld times", + gpr_log(GPR_DEBUG, "DoWork() called %" PRIdPTR " times", gpr_atm_no_barrier_load(&num_do_work_)); GPR_ASSERT(gpr_atm_no_barrier_load(&num_do_work_) == gpr_atm_no_barrier_load(&num_work_found_)); |