summaryrefslogtreecommitdiff
path: root/src/gui/gui-completion.c
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2008-11-04 15:34:44 +0100
committerSebastien Helleu <flashcode@flashtux.org>2008-11-04 15:34:44 +0100
commitd32b22f76f9d677780780ec3ab1a497f0ad7a9d5 (patch)
treeb1e6fda619e9d3d6f3d8d42b17dcac60ba0be23d /src/gui/gui-completion.c
parente2a19660959d17b2ff615f90259dd543388c362a (diff)
downloadweechat-d32b22f76f9d677780780ec3ab1a497f0ad7a9d5.zip
Fix bug with pointer conversions on 64 bits architecture
Diffstat (limited to 'src/gui/gui-completion.c')
-rw-r--r--src/gui/gui-completion.c36
1 files changed, 18 insertions, 18 deletions
diff --git a/src/gui/gui-completion.c b/src/gui/gui-completion.c
index f5dcf2bf5..c150b8b8c 100644
--- a/src/gui/gui-completion.c
+++ b/src/gui/gui-completion.c
@@ -1628,24 +1628,24 @@ gui_completion_search (struct t_gui_completion *completion, int direction,
void
gui_completion_print_log (struct t_gui_completion *completion)
{
- log_printf ("[completion (addr:0x%x)]", completion);
- log_printf (" buffer. . . . . . . . . : 0x%x", completion->buffer);
- log_printf (" context . . . . . . . . : %d", completion->context);
- log_printf (" base_command. . . . . . : '%s'", completion->base_command);
- log_printf (" base_command_arg. . . . : %d", completion->base_command_arg);
- log_printf (" arg_is_nick . . . . . . : %d", completion->arg_is_nick);
- log_printf (" base_word . . . . . . . : '%s'", completion->base_word);
- log_printf (" base_word_pos . . . . . : %d", completion->base_word_pos);
- log_printf (" position. . . . . . . . : %d", completion->position);
- log_printf (" args. . . . . . . . . . : '%s'", completion->args);
- log_printf (" direction . . . . . . . : %d", completion->direction);
- log_printf (" add_space . . . . . . . : %d", completion->add_space);
- log_printf (" force_partial_completion: %d", completion->force_partial_completion);
- log_printf (" completion_list . . . . : 0x%x", completion->completion_list);
- log_printf (" word_found. . . . . . . : '%s'", completion->word_found);
- log_printf (" position_replace. . . . : %d", completion->position_replace);
- log_printf (" diff_size . . . . . . . : %d", completion->diff_size);
- log_printf (" diff_length . . . . . . : %d", completion->diff_length);
+ log_printf ("[completion (addr:0x%lx)]", completion);
+ log_printf (" buffer. . . . . . . . . : 0x%lx", completion->buffer);
+ log_printf (" context . . . . . . . . : %d", completion->context);
+ log_printf (" base_command. . . . . . : '%s'", completion->base_command);
+ log_printf (" base_command_arg. . . . : %d", completion->base_command_arg);
+ log_printf (" arg_is_nick . . . . . . : %d", completion->arg_is_nick);
+ log_printf (" base_word . . . . . . . : '%s'", completion->base_word);
+ log_printf (" base_word_pos . . . . . : %d", completion->base_word_pos);
+ log_printf (" position. . . . . . . . : %d", completion->position);
+ log_printf (" args. . . . . . . . . . : '%s'", completion->args);
+ log_printf (" direction . . . . . . . : %d", completion->direction);
+ log_printf (" add_space . . . . . . . : %d", completion->add_space);
+ log_printf (" force_partial_completion: %d", completion->force_partial_completion);
+ log_printf (" completion_list . . . . : 0x%lx", completion->completion_list);
+ log_printf (" word_found. . . . . . . : '%s'", completion->word_found);
+ log_printf (" position_replace. . . . : %d", completion->position_replace);
+ log_printf (" diff_size . . . . . . . : %d", completion->diff_size);
+ log_printf (" diff_length . . . . . . : %d", completion->diff_length);
if (completion->completion_list)
{
log_printf ("");