Index: webrtc/base/physicalsocketserver.cc |
diff --git a/webrtc/base/physicalsocketserver.cc b/webrtc/base/physicalsocketserver.cc |
index 708499df531f076af2210137c0eb2ed4795c6bab..bbf9aedb74905d83edf74e884266647b11929771 100644 |
--- a/webrtc/base/physicalsocketserver.cc |
+++ b/webrtc/base/physicalsocketserver.cc |
@@ -1463,7 +1463,7 @@ bool PhysicalSocketServer::InstallSignal(int signum, void (*handler)(int)) { |
bool PhysicalSocketServer::Wait(int cmsWait, bool process_io) { |
int cmsTotal = cmsWait; |
int cmsElapsed = 0; |
- uint32_t msStart = Time(); |
+ int64_t msStart = Time(); |
fWait_ = true; |
while (fWait_) { |
@@ -1613,7 +1613,7 @@ bool PhysicalSocketServer::Wait(int cmsWait, bool process_io) { |
// Break? |
if (!fWait_) |
break; |
- cmsElapsed = TimeSince(msStart); |
+ cmsElapsed = static_cast<int>(TimeSince(msStart)); |
pthatcher1
2016/05/02 16:57:56
Can you leave a comment about why we do this and w
honghaiz3
2016/05/03 21:18:25
Just used int64_t instead.
Deferred the type conv
|
if ((cmsWait != kForever) && (cmsElapsed >= cmsWait)) { |
break; |
} |