summaryrefslogtreecommitdiff
path: root/src/gui/curses
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2024-04-01 21:08:52 +0200
committerSébastien Helleu <flashcode@flashtux.org>2024-04-01 21:08:52 +0200
commit965beb37dede0ac0f6e1be961acfbc15ee7e46cf (patch)
tree428ff5cb61b17b8de339316e65ed4a70aea10dca /src/gui/curses
parenta7c92e2d2471c1442c65e5ea95a7dce8061f5784 (diff)
downloadweechat-965beb37dede0ac0f6e1be961acfbc15ee7e46cf.zip
core: fix print of pointer values
Diffstat (limited to 'src/gui/curses')
-rw-r--r--src/gui/curses/gui-curses-bar-window.c4
-rw-r--r--src/gui/curses/gui-curses-window.c6
2 files changed, 5 insertions, 5 deletions
diff --git a/src/gui/curses/gui-curses-bar-window.c b/src/gui/curses/gui-curses-bar-window.c
index e1c3ca938..0be0fb54b 100644
--- a/src/gui/curses/gui-curses-bar-window.c
+++ b/src/gui/curses/gui-curses-bar-window.c
@@ -963,6 +963,6 @@ void
gui_bar_window_objects_print_log (struct t_gui_bar_window *bar_window)
{
log_printf (" bar window specific objects for Curses:");
- log_printf (" win_bar. . . . . . . : 0x%lx", GUI_BAR_WINDOW_OBJECTS(bar_window)->win_bar);
- log_printf (" win_separator. . . . : 0x%lx", GUI_BAR_WINDOW_OBJECTS(bar_window)->win_separator);
+ log_printf (" win_bar. . . . . . . : %p", GUI_BAR_WINDOW_OBJECTS(bar_window)->win_bar);
+ log_printf (" win_separator. . . . : %p", GUI_BAR_WINDOW_OBJECTS(bar_window)->win_separator);
}
diff --git a/src/gui/curses/gui-curses-window.c b/src/gui/curses/gui-curses-window.c
index c7e287c3e..570b4cafc 100644
--- a/src/gui/curses/gui-curses-window.c
+++ b/src/gui/curses/gui-curses-window.c
@@ -2716,7 +2716,7 @@ void
gui_window_objects_print_log (struct t_gui_window *window)
{
log_printf (" window specific objects for Curses:");
- log_printf (" win_chat. . . . . . . : 0x%lx", GUI_WINDOW_OBJECTS(window)->win_chat);
- log_printf (" win_separator_horiz . : 0x%lx", GUI_WINDOW_OBJECTS(window)->win_separator_horiz);
- log_printf (" win_separator_vertic. : 0x%lx", GUI_WINDOW_OBJECTS(window)->win_separator_vertic);
+ log_printf (" win_chat. . . . . . . : %p", GUI_WINDOW_OBJECTS(window)->win_chat);
+ log_printf (" win_separator_horiz . : %p", GUI_WINDOW_OBJECTS(window)->win_separator_horiz);
+ log_printf (" win_separator_vertic. : %p", GUI_WINDOW_OBJECTS(window)->win_separator_vertic);
}