Index: webrtc/base/opensslstreamadapter.cc |
diff --git a/webrtc/base/opensslstreamadapter.cc b/webrtc/base/opensslstreamadapter.cc |
index 5a7560e112584995044b2c22a2804ed04ec752b5..6943cd32ff0e495ea0a7e7d5b4980be714b56637 100644 |
--- a/webrtc/base/opensslstreamadapter.cc |
+++ b/webrtc/base/opensslstreamadapter.cc |
@@ -64,7 +64,7 @@ static SrtpCipherMapEntry SrtpCipherMap[] = { |
#ifdef OPENSSL_IS_BORINGSSL |
static void TimeCallback(const SSL* ssl, struct timeval* out_clock) { |
- uint64_t time = TimeNanos(); |
+ int64_t time = TimeNanos(); |
out_clock->tv_sec = time / kNumNanosecsPerSec; |
out_clock->tv_usec = (time % kNumNanosecsPerSec) / kNumNanosecsPerMicrosec; |
} |