summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2012-04-20 11:10:47 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2012-04-20 11:12:58 +1000
commit0322d301844a7e78fc9aa4ec6493bf50bc7f926c (patch)
treec38da7126525014d95aec7f46425085ec731d88a /src
parent3822d58777768b351940e58d8608ba9ab877d134 (diff)
Print millis as unsigned int
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'src')
-rw-r--r--src/synaptics.c4
1 files 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) {