Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(477)

Unified Diff: src/core/model/synchronizer.cc

Issue 336970043: Eliminate Visual Studio compiler warnings (Closed)
Patch Set: Updates to patch for review comments Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/core/model/synchronizer.cc
===================================================================
--- a/src/core/model/synchronizer.cc
+++ b/src/core/model/synchronizer.cc
@@ -90,9 +90,9 @@
if (tDrift < 0)
{
- return -NanosecondToTimeStep (-tDrift);
+ return -static_cast<int64_t> (NanosecondToTimeStep (-tDrift));
} else {
- return NanosecondToTimeStep (tDrift);
+ return static_cast<int64_t> (NanosecondToTimeStep (tDrift));
}
}

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b