aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2017-07-20 16:37:36 -0700
committerGravatar Craig Tiller <ctiller@google.com>2017-07-20 16:37:36 -0700
commit8af33dbda7dbdaf847973966eb39afedceb2df6b (patch)
tree306e58f5460d7adc73d56c4f9edf9ccac23029cd
parent341599764d9194a0a718ed2528884ec04d368300 (diff)
casts
-rw-r--r--src/core/lib/iomgr/executor.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/core/lib/iomgr/executor.c b/src/core/lib/iomgr/executor.c
index e5f9764f5f..d2e532e488 100644
--- a/src/core/lib/iomgr/executor.c
+++ b/src/core/lib/iomgr/executor.c
@@ -210,15 +210,15 @@ static void executor_push(grpc_exec_ctx *exec_ctx, grpc_closure *closure,
for (;;) {
if (GRPC_TRACER_ON(executor_trace)) {
#ifndef NDEBUG
- gpr_log(GPR_DEBUG,
- "EXECUTOR: try to schedule %p (%s) (created %s:%d) to thread "
- "%" PRIdPTR,
- closure, is_short ? "short" : "long", closure->file_created,
- closure->line_created, ts - g_thread_state);
+ gpr_log(
+ GPR_DEBUG,
+ "EXECUTOR: try to schedule %p (%s) (created %s:%d) to thread %d",
+ closure, is_short ? "short" : "long", closure->file_created,
+ closure->line_created, (int)(ts - g_thread_state));
#else
- gpr_log(GPR_DEBUG,
- "EXECUTOR: try to schedule %p (%s) to thread %" PRIdPTR,
- closure, is_short ? "short" : "long", ts - g_thread_state);
+ gpr_log(GPR_DEBUG, "EXECUTOR: try to schedule %p (%s) to thread %d",
+ closure, is_short ? "short" : "long",
+ (int)(ts - g_thread_state));
#endif
}
gpr_mu_lock(&ts->mu);