diff --git a/libr/anal/p/anal_a2f.c b/libr/anal/p/anal_a2f.c index 0717b5e330..4e5100a36f 100644 --- a/libr/anal/p/anal_a2f.c +++ b/libr/anal/p/anal_a2f.c @@ -433,7 +433,7 @@ static bool analcall(RAnal *anal, const char *input) { switch (input[2]) { case 'f': if (input[3] == '?') { - anal->coreb.help (core, &help_msg_a2f); + anal->coreb.help (core, help_msg_a2f); return true; } @@ -442,7 +442,7 @@ static bool analcall(RAnal *anal, const char *input) { } break; default: - anal->coreb.help (core, &help_msg_a2f); + anal->coreb.help (core, help_msg_a2f); break; } return true; diff --git a/libr/include/r_bind.h b/libr/include/r_bind.h index 9ae6bc8d55..efc6f09f36 100644 --- a/libr/include/r_bind.h +++ b/libr/include/r_bind.h @@ -1,4 +1,4 @@ -/* radare2 - LGPL - Copyright 2015-2023 - pancake */ +/* radare2 - LGPL - Copyright 2015-2024 - pancake */ #ifndef R2_BIND_H #define R2_BIND_H @@ -17,7 +17,7 @@ typedef char *(*RCoreCallAt)(void *user, ut64 addr, const char *cmd); typedef int (*RCoreDebugBpHit)(void *core, void *bp); typedef void (*RCoreDebugSyscallHit)(void *core); typedef char* (*RCoreCmdStr)(void *core, const char *cmd); -typedef char* (*RCoreBindHelp)(void *core, RCoreHelpMessage *help); +typedef char* (*RCoreBindHelp)(void *core, RCoreHelpMessage help); typedef char* (*RCoreCmdStrF)(void *core, const char *cmd, ...); typedef void (*RCorePuts)(const char *cmd); typedef void (*RCoreSetArchBits)(void *core, const char *arch, int bits);