aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/cpp/util/time_test.cc
diff options
context:
space:
mode:
authorGravatar murgatroid99 <mlumish@google.com>2016-02-05 11:30:00 -0800
committerGravatar murgatroid99 <mlumish@google.com>2016-02-05 11:30:00 -0800
commit309830f6b8c09347db305acf3b05fca333030989 (patch)
treef2eb8c7cc20f3320cee8221f2ebd0190c05f8671 /test/cpp/util/time_test.cc
parentb59b142799fe28482162bc192d6205fcb749c6c4 (diff)
Replace 'long' with 'int64_t' in public core headers
Diffstat (limited to 'test/cpp/util/time_test.cc')
-rw-r--r--test/cpp/util/time_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/cpp/util/time_test.cc b/test/cpp/util/time_test.cc
index 1e501dfd28..803bd46210 100644
--- a/test/cpp/util/time_test.cc
+++ b/test/cpp/util/time_test.cc
@@ -45,7 +45,7 @@ namespace {
class TimeTest : public ::testing::Test {};
TEST_F(TimeTest, AbsolutePointTest) {
- long us = 10000000L;
+ int64_t us = 10000000L;
gpr_timespec ts = gpr_time_from_micros(us, GPR_TIMESPAN);
ts.clock_type = GPR_CLOCK_REALTIME;
system_clock::time_point tp{microseconds(us)};