summaryrefslogtreecommitdiff
path: root/src/core/wee-debug.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/wee-debug.c')
-rw-r--r--src/core/wee-debug.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/wee-debug.c b/src/core/wee-debug.c
index e7c2ec075..744a49040 100644
--- a/src/core/wee-debug.c
+++ b/src/core/wee-debug.c
@@ -185,8 +185,8 @@ debug_windows_tree_display (struct t_gui_window_tree *tree, int indent)
/* leaf */
snprintf (format,
sizeof (format),
- "%%-%dsleaf: 0x%%X (parent:0x%%X), win=0x%%X, "
- "child1=0x%%X, child2=0x%%X, %%d,%%d %%dx%%d, "
+ "%%-%dsleaf: 0x%%lx (parent:0x%%lx), win=0x%%lx, "
+ "child1=0x%%lx, child2=0x%%lx, %%d,%%d %%dx%%d, "
"%%d%%%%x%%d%%%%",
indent * 2);
gui_chat_printf (NULL,
@@ -203,8 +203,8 @@ debug_windows_tree_display (struct t_gui_window_tree *tree, int indent)
/* node */
snprintf (format,
sizeof (format),
- "%%-%dsnode: 0x%%X (parent:0x%%X), win=0x%%X, "
- "child1=0x%%X, child2=0x%%X)",
+ "%%-%dsnode: 0x%%lx (parent:0x%%lx), win=0x%%lx, "
+ "child1=0x%%lx, child2=0x%%lx)",
indent * 2);
gui_chat_printf (NULL,
format,