diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2024-04-01 21:08:52 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2024-04-01 21:08:52 +0200 |
commit | 965beb37dede0ac0f6e1be961acfbc15ee7e46cf (patch) | |
tree | 428ff5cb61b17b8de339316e65ed4a70aea10dca /src/core/hook/hook-command-run.c | |
parent | a7c92e2d2471c1442c65e5ea95a7dce8061f5784 (diff) | |
download | weechat-965beb37dede0ac0f6e1be961acfbc15ee7e46cf.zip |
core: fix print of pointer values
Diffstat (limited to 'src/core/hook/hook-command-run.c')
-rw-r--r-- | src/core/hook/hook-command-run.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hook/hook-command-run.c b/src/core/hook/hook-command-run.c index 1c72543c2..e664c7709 100644 --- a/src/core/hook/hook-command-run.c +++ b/src/core/hook/hook-command-run.c @@ -229,6 +229,6 @@ hook_command_run_print_log (struct t_hook *hook) return; log_printf (" command_run data:"); - log_printf (" callback. . . . . . . : 0x%lx", HOOK_COMMAND_RUN(hook, callback)); - log_printf (" command . . . . . . . : '%s'", HOOK_COMMAND_RUN(hook, command)); + log_printf (" callback. . . . . . . : %p", HOOK_COMMAND_RUN(hook, callback)); + log_printf (" command . . . . . . . : '%s'", HOOK_COMMAND_RUN(hook, command)); } |