Bug 1059132 - Bustage fix: fix printf format.

This commit is contained in:
Paul Adenot 2014-08-28 19:34:35 +02:00
parent e6c427e762
commit 8cb6ec8b6e

View File

@ -89,7 +89,7 @@ void GraphDriver::UpdateStateComputedTime(GraphTime aStateComputedTime)
// 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;