From 17ffaee013d97412eab2395cb9555ca3213c5302 Mon Sep 17 00:00:00 2001 From: Green Sky Date: Fri, 19 Jan 2024 10:46:37 +0100 Subject: [PATCH] fix: forgot to cast to base before casting to void* again (oops) --- solanaceae/plugin/solana_plugin_v1.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/solanaceae/plugin/solana_plugin_v1.h b/solanaceae/plugin/solana_plugin_v1.h index 698f0c2..58e4a1d 100644 --- a/solanaceae/plugin/solana_plugin_v1.h +++ b/solanaceae/plugin/solana_plugin_v1.h @@ -81,8 +81,8 @@ static void plug_provideInstance(const SolanaAPI* solana_api, const char* id, co plug_provideInstance(solana_api, id, internal::g_type_version::version, plugin_name, instance); } -#define PLUG_PROVIDE_INSTANCE_VERSIONED(x, ver, p, i) plug_provideInstance(solana_api, #x, ver, p, i) -#define PLUG_PROVIDE_INSTANCE(x, p, i) plug_provideInstance(solana_api, #x, p, i) +#define PLUG_PROVIDE_INSTANCE_VERSIONED(x, ver, p, i) plug_provideInstance(solana_api, #x, ver, p, i) +#define PLUG_PROVIDE_INSTANCE(x, p, i) plug_provideInstance(solana_api, #x, p, i) // ---------- resolve optional ----------