X-Git-Url: https://jfr.im/git/solanum.git/blobdiff_plain/ed5d7eb12229e2c418fc9e8d7fb566f24c6512aa..29c92cf95f9b9e669b08e90d13c8a8ba12369d58:/src/modules.c diff --git a/src/modules.c b/src/modules.c index 0c845a93..85da9f09 100644 --- a/src/modules.c +++ b/src/modules.c @@ -802,7 +802,7 @@ load_a_module(const char *path, int warn, int core) { case 1: { - struct mapi_mheader_av1 *mheader = (struct mapi_mheader_av1 *) mapi_version; /* see above */ + struct mapi_mheader_av1 *mheader = (struct mapi_mheader_av1 *)(void *)mapi_version; /* see above */ if(mheader->mapi_register && (mheader->mapi_register() == -1)) { ilog(L_MAIN, "Module %s indicated failure during load.",