From 0322d301844a7e78fc9aa4ec6493bf50bc7f926c Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Fri, 20 Apr 2012 11:10:47 +1000 Subject: Print millis as unsigned int Signed-off-by: Peter Hutterer --- src/synaptics.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/synaptics.c b/src/synaptics.c index 8c34234..0de5c01 100644 --- a/src/synaptics.c +++ b/src/synaptics.c @@ -1846,7 +1846,7 @@ static void SetTapState(SynapticsPrivate *priv, enum TapState tap_state, CARD32 millis) { SynapticsParameters *para = &priv->synpara; - DBG(7, "SetTapState - %d -> %d (millis:%d)\n", priv->tap_state, tap_state, millis); + DBG(3, "SetTapState - %d -> %d (millis:%u)\n", priv->tap_state, tap_state, millis); switch (tap_state) { case TS_START: priv->tap_button_state = TBS_BUTTON_UP; @@ -1886,7 +1886,7 @@ SetTapState(SynapticsPrivate *priv, enum TapState tap_state, CARD32 millis) static void SetMovingState(SynapticsPrivate *priv, enum MovingState moving_state, CARD32 millis) { - DBG(7, "SetMovingState - %d -> %d center at %d/%d (millis:%d)\n", priv->moving_state, + DBG(7, "SetMovingState - %d -> %d center at %d/%d (millis:%u)\n", priv->moving_state, moving_state,priv->hwState->x, priv->hwState->y, millis); if (moving_state == MS_TRACKSTICK) { -- cgit v1.2.3