aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/cpp
diff options
context:
space:
mode:
authorGravatar Makarand Dharmapurikar <makarandd@google.com>2016-09-30 16:21:11 -0700
committerGravatar Makarand Dharmapurikar <makarandd@google.com>2016-09-30 16:21:11 -0700
commitb58c2db6167cee26327e611ffccba499b8bd7015 (patch)
tree66d0e3f20231a7f376feb06f68827b5328c54dfb /test/cpp
parentc9beacadb1f9b0cd8858ce59d6cbed01b7f48cd3 (diff)
yet another gcc 4.4 compile fix.
Diffstat (limited to 'test/cpp')
-rw-r--r--test/cpp/interop/interop_client.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/cpp/interop/interop_client.cc b/test/cpp/interop/interop_client.cc
index f323090ebf..2fbd6a98cd 100644
--- a/test/cpp/interop/interop_client.cc
+++ b/test/cpp/interop/interop_client.cc
@@ -850,7 +850,7 @@ bool InteropClient::DoCacheableUnary() {
// Create request with current timestamp
gpr_timespec ts = gpr_now(GPR_CLOCK_PRECISE);
- std::string timestamp = std::to_string(ts.tv_nsec);
+ std::string timestamp = std::to_string((long long unsigned)ts.tv_nsec);
SimpleRequest request;
request.mutable_payload()->set_body(timestamp.c_str(), timestamp.size());