aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/cpp
diff options
context:
space:
mode:
authorGravatar David Garcia Quintas <dgq@google.com>2016-06-27 11:30:10 -0700
committerGravatar David Garcia Quintas <dgq@google.com>2016-06-27 11:30:10 -0700
commit193a5c737f3cad5e42c991bbf1f01c7a52cf8d06 (patch)
tree88fc90002c73830217e0f6f0680f03d4f784735d /test/cpp
parent83a6a828b047cc24922a6d143e30f4ab6eb63239 (diff)
printf portability sucks
Diffstat (limited to 'test/cpp')
-rw-r--r--test/cpp/interop/interop_client.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/cpp/interop/interop_client.cc b/test/cpp/interop/interop_client.cc
index ec0729d9c5..8861bc1163 100644
--- a/test/cpp/interop/interop_client.cc
+++ b/test/cpp/interop/interop_client.cc
@@ -451,7 +451,7 @@ bool InteropClient::DoResponseStreaming() {
// most likely due to connection failure.
gpr_log(GPR_ERROR,
"DoResponseStreaming(): Read fewer streams (%d) than "
- "response_stream_sizes.size() (%zu)",
+ "response_stream_sizes.size() (%" PRIuPTR ")",
i, response_stream_sizes.size());
return TransientFailureOrAbort();
}
@@ -577,8 +577,8 @@ bool InteropClient::DoServerCompressedStreaming() {
// stream->Read() failed before reading all the expected messages. This
// is most likely due to a connection failure.
gpr_log(GPR_ERROR,
- "%s(): Responses read (k=%zu) is less than the expected number of "
- "messages (%zu).",
+ "%s(): Responses read (k=%" PRIuPTR
+ ") is less than the expected number of messages (%" PRIuPTR ").",
__func__, k, sizes.size());
return TransientFailureOrAbort();
}
@@ -664,7 +664,7 @@ bool InteropClient::DoHalfDuplex() {
// most likely due to a connection failure
gpr_log(GPR_ERROR,
"DoHalfDuplex(): Responses read (i=%d) are less than the expected "
- "number of messages response_stream_sizes.size() (%zu)",
+ "number of messages response_stream_sizes.size() (%" PRIuPTR ")",
i, response_stream_sizes.size());
return TransientFailureOrAbort();
}