]> jfr.im git - solanum.git/blobdiff - extensions/chm_regmsg.c
hook_fn casts were hiding UB (#265)
[solanum.git] / extensions / chm_regmsg.c
index 9bf81523d524b4714a38aa27e649e35a9015839d..97c851ff76530495ea55e13dc01f6e0c52c81762 100644 (file)
@@ -43,7 +43,7 @@ static unsigned int mode_regmsg;
 static void chm_regmsg_process(void *);
 
 mapi_hfn_list_av1 chm_regmsg_hfnlist[] = {
-       { "privmsg_channel", (hookfn) chm_regmsg_process },
+       { "privmsg_channel", chm_regmsg_process },
        { NULL, NULL }
 };