From: Chase Douglas <[email protected]>

This fixes an obvious error in the current print formatting.

Signed-off-by: Chase Douglas <[email protected]>
---
 src/test_xi2.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/test_xi2.c b/src/test_xi2.c
index c59ba26..fea36a8 100644
--- a/src/test_xi2.c
+++ b/src/test_xi2.c
@@ -72,7 +72,7 @@ static void print_deviceevent(XIDeviceEvent* event)
         if (XIMaskIsSet(event->valuators.mask, i))
             printf("        %i: %.2f\n", i, *val++);
 
-    printf("    windows: root 0x%lx event 0x%lx child 0x%ld\n",
+    printf("    windows: root 0x%lx event 0x%lx child 0x%lx\n",
             event->root, event->event, event->child);
 }
 
-- 
1.7.1

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to