Merge "disable -Wdeprecated-declarations in legacy code"
diff --git a/mkvparser/mkvparser.cc b/mkvparser/mkvparser.cc
index 984058d..37f230d 100644
--- a/mkvparser/mkvparser.cc
+++ b/mkvparser/mkvparser.cc
@@ -4037,7 +4037,7 @@
   }
 
   const double rollover_check = m_duration * m_timecodeScale;
-  if (rollover_check > LLONG_MAX)
+  if (rollover_check > static_cast<double>(LLONG_MAX))
     return E_FILE_FORMAT_INVALID;
 
   if (pos != stop)