summaryrefslogtreecommitdiff
path: root/src/core/hook/hook-command-run.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/core/hook/hook-command-run.c
parenta7c92e2d2471c1442c65e5ea95a7dce8061f5784 (diff)
downloadweechat-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.c4
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));
}