Bug 1059132 - Bustage fix: fix printf format.
authorPaul Adenot <paul@paul.cx>
Thu, 28 Aug 2014 19:34:35 +0200
changeset 223868 c105712ba3e0d0257e6de4ea51d803fcefb7bfea
parent 223867 602966888eb0643b0580b14205ac75c6474fd422
child 223869 d697d649c76557865c96636f4c2ca805a77acbaa
child 223870 2f94e060bac3b2e4b22b047e10f993418edbb0f8
push id3979
push userraliiev@mozilla.com
push dateMon, 13 Oct 2014 16:35:44 +0000
treeherdermozilla-beta@30f2cc610691 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1059132
milestone34.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1059132 - Bustage fix: fix printf format.
content/media/GraphDriver.cpp
--- a/content/media/GraphDriver.cpp
+++ b/content/media/GraphDriver.cpp
@@ -84,17 +84,17 @@ void GraphDriver::EnsureImmediateWakeUpL
 
 void GraphDriver::UpdateStateComputedTime(GraphTime aStateComputedTime)
 {
   MOZ_ASSERT(aStateComputedTime > mIterationEnd);
   // The next state computed time can be the same as the previous, here: it
   // means the driver would be have been blocking indefinitly, but the graph has
   // been woken up right after having been to sleep.
   if (aStateComputedTime < mStateComputedTime) {
-    printf("State time can't go backward %ld < mStateComputedTime.\n", aStateComputedTime, mStateComputedTime);
+    printf("State time can't go backward %ld < %ld.\n", static_cast<long>(aStateComputedTime), static_cast<long>(mStateComputedTime));
   }
 
   mStateComputedTime = aStateComputedTime;
 }
 
 void GraphDriver::EnsureNextIteration()
 {
   MonitorAutoLock lock(mGraphImpl->GetMonitor());