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

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

Issue 336970043: Eliminate Visual Studio compiler warnings (Closed)
Patch Set: Review and update of patch set to make sure all comments are addressed Created 6 years 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));
Peter Barnes 2018/05/11 21:58:12 Need to eliminate this cast as well, by chasing do
} 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