From c8664ba34bd9ef0c3def0f7296ce62e2d792a0ff Mon Sep 17 00:00:00 2001 From: Dmitry Shachnev Date: Thu, 24 Nov 2016 21:06:01 +0300 Subject: Fix build with --enable-massivedebugging Use %p for printing pointers, otherwise GCC complains. --- libdbusmenu-glib/client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libdbusmenu-glib') diff --git a/libdbusmenu-glib/client.c b/libdbusmenu-glib/client.c index 800c96c..7bd0573 100644 --- a/libdbusmenu-glib/client.c +++ b/libdbusmenu-glib/client.c @@ -2511,7 +2511,7 @@ dbusmenu_client_get_root (DbusmenuClient * client) DbusmenuClientPrivate * priv = DBUSMENU_CLIENT_GET_PRIVATE(client); #ifdef MASSIVEDEBUGGING - g_debug("Client get root: %X", (guint)priv->root); + g_debug("Client get root: %p", priv->root); #endif return priv->root; -- cgit v1.2.3