From 6cc0f3d95d62e33a5d86f865159cc3526d3a9dc5 Mon Sep 17 00:00:00 2001 From: Jon TURNEY Date: Tue, 7 Jul 2015 23:20:29 +0100 Subject: [PATCH] debug output format fix in xf86Events.c MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit xserver/hw/xfree86/common/xf86Events.c:183:5: error: format ‘%x’ expects argument of type ‘unsigned int’, but argument 3 has type ‘void *’ [-Werror=format=] Signed-off-by: Jon TURNEY Reviewed-by: Peter Hutterer --- hw/xfree86/common/xf86Events.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/xfree86/common/xf86Events.c b/hw/xfree86/common/xf86Events.c index 97a1f97b2..6570f0be9 100644 --- a/hw/xfree86/common/xf86Events.c +++ b/hw/xfree86/common/xf86Events.c @@ -180,7 +180,7 @@ ProcessInputEvents(void) void xf86ProcessActionEvent(ActionEvent action, void *arg) { - DebugF("ProcessActionEvent(%d,%x)\n", (int) action, arg); + DebugF("ProcessActionEvent(%d,%p)\n", (int) action, arg); switch (action) { case ACTION_TERMINATE: if (!xf86Info.dontZap) {