Bug 1063168 - Fix some incorrect debug printf format specifiers. r=botond

This commit is contained in:
Kartikaya Gupta 2014-10-03 13:39:38 -04:00
parent fd1d2d6fd3
commit 8cce6d55ca
2 changed files with 4 additions and 4 deletions

View File

@ -67,7 +67,7 @@ GestureEventListener::~GestureEventListener()
nsEventStatus GestureEventListener::HandleInputEvent(const MultiTouchInput& aEvent)
{
GEL_LOG("Receiving event type %d with %d touches in state %d\n", aEvent.mType, aEvent.mTouches.Length(), mState);
GEL_LOG("Receiving event type %d with %lu touches in state %d\n", aEvent.mType, aEvent.mTouches.Length(), mState);
nsEventStatus rv = nsEventStatus_eIgnore;

View File

@ -76,7 +76,7 @@ TouchBlockState::SetAllowedTouchBehaviors(const nsTArray<TouchBehaviorFlags>& aB
if (mAllowedTouchBehaviorSet) {
return false;
}
TBS_LOG("%p got allowed touch behaviours for %d points\n", this, aBehaviors.Length());
TBS_LOG("%p got allowed touch behaviours for %lu points\n", this, aBehaviors.Length());
mAllowedTouchBehaviors.AppendElements(aBehaviors);
mAllowedTouchBehaviorSet = true;
return true;
@ -150,7 +150,7 @@ TouchBlockState::AddEvent(const MultiTouchInput& aEvent)
void
TouchBlockState::DropEvents()
{
TBS_LOG("%p dropping %d events\n", this, mEvents.Length());
TBS_LOG("%p dropping %lu events\n", this, mEvents.Length());
mEvents.Clear();
}
@ -158,7 +158,7 @@ MultiTouchInput
TouchBlockState::RemoveFirstEvent()
{
MOZ_ASSERT(!mEvents.IsEmpty());
TBS_LOG("%p returning first of %d events\n", this, mEvents.Length());
TBS_LOG("%p returning first of %lu events\n", this, mEvents.Length());
MultiTouchInput event = mEvents[0];
mEvents.RemoveElementAt(0);
return event;