From 83643bd5cbd7e816cd211902804b718e3d0740ab Mon Sep 17 00:00:00 2001 From: Craig Tiller Date: Fri, 31 Mar 2017 06:02:57 -0700 Subject: [PATCH] Fix build on mac --- test/cpp/microbenchmarks/bm_chttp2_hpack.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/cpp/microbenchmarks/bm_chttp2_hpack.cc b/test/cpp/microbenchmarks/bm_chttp2_hpack.cc index 8fbfd0fa132..55d2d2f58d0 100644 --- a/test/cpp/microbenchmarks/bm_chttp2_hpack.cc +++ b/test/cpp/microbenchmarks/bm_chttp2_hpack.cc @@ -97,7 +97,7 @@ static void BM_HpackEncoderEncodeHeader(benchmark::State &state) { logged_representative_output = true; for (size_t i = 0; i < outbuf.count; i++) { char *s = grpc_dump_slice(outbuf.slices[i], GPR_DUMP_HEX); - gpr_log(GPR_DEBUG, "%" PRId64 ": %s", i, s); + gpr_log(GPR_DEBUG, "%" PRIdPTR ": %s", i, s); gpr_free(s); } }