mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1063168 - Fix some incorrect debug printf format specifiers. r=botond
This commit is contained in:
parent
fd1d2d6fd3
commit
8cce6d55ca
@ -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;
|
||||
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user