summaryrefslogtreecommitdiff
path: root/src/gui/gui-line.c
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/gui-line.c
parenta7c92e2d2471c1442c65e5ea95a7dce8061f5784 (diff)
downloadweechat-965beb37dede0ac0f6e1be961acfbc15ee7e46cf.zip
core: fix print of pointer values
Diffstat (limited to 'src/gui/gui-line.c')
-rw-r--r--src/gui/gui-line.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/gui/gui-line.c b/src/gui/gui-line.c
index bfdd2f1d8..675b6d23d 100644
--- a/src/gui/gui-line.c
+++ b/src/gui/gui-line.c
@@ -2451,15 +2451,15 @@ gui_lines_print_log (struct t_gui_lines *lines)
{
if (lines)
{
- log_printf (" first_line . . . . . . . : 0x%lx", lines->first_line);
- log_printf (" last_line. . . . . . . . : 0x%lx", lines->last_line);
- log_printf (" last_read_line . . . . . : 0x%lx", lines->last_read_line);
- log_printf (" lines_count. . . . . . . : %d", lines->lines_count);
- log_printf (" first_line_not_read. . . : %d", lines->first_line_not_read);
- log_printf (" lines_hidden . . . . . . : %d", lines->lines_hidden);
- log_printf (" buffer_max_length. . . . : %d", lines->buffer_max_length);
- log_printf (" buffer_max_length_refresh: %d", lines->buffer_max_length_refresh);
- log_printf (" prefix_max_length. . . . : %d", lines->prefix_max_length);
- log_printf (" prefix_max_length_refresh: %d", lines->prefix_max_length_refresh);
+ log_printf (" first_line . . . . . . . : %p", lines->first_line);
+ log_printf (" last_line. . . . . . . . : %p", lines->last_line);
+ log_printf (" last_read_line . . . . . : %p", lines->last_read_line);
+ log_printf (" lines_count. . . . . . . : %d", lines->lines_count);
+ log_printf (" first_line_not_read. . . : %d", lines->first_line_not_read);
+ log_printf (" lines_hidden . . . . . . : %d", lines->lines_hidden);
+ log_printf (" buffer_max_length. . . . : %d", lines->buffer_max_length);
+ log_printf (" buffer_max_length_refresh: %d", lines->buffer_max_length_refresh);
+ log_printf (" prefix_max_length. . . . : %d", lines->prefix_max_length);
+ log_printf (" prefix_max_length_refresh: %d", lines->prefix_max_length_refresh);
}
}