]> Nishi Git Mirror - libw3.git/commitdiff
fixing function pointer warning
authornishi <nishi@d27a3e52-49c5-7645-884c-6793ebffc270>
Sat, 27 Jan 2024 02:37:25 +0000 (02:37 +0000)
committernishi <nishi@d27a3e52-49c5-7645-884c-6793ebffc270>
Sat, 27 Jan 2024 02:37:25 +0000 (02:37 +0000)
git-svn-id: file:///raid/svn-main/nishi-libw3/trunk@105 d27a3e52-49c5-7645-884c-6793ebffc270

Library/POP3.c

index 0c15f5f7b49003b7114de4ad5f7b555f7697a564..4595355aab647b164ebd9cef581df1e9b604ea66 100644 (file)
@@ -48,7 +48,7 @@ void __W3_POP3_Request(struct W3* w3) {
                                                        login = 3;
                                                        void* funcptr = __W3_Get_Event(w3, "login");
                                                        if(funcptr != NULL){
-                                                               void(*func)(struct W3*, const char*) = (void(*)(struct W3*, int))funcptr;
+                                                               void(*func)(struct W3*, int) = (void(*)(struct W3*, int))funcptr;
                                                                func(w3, 512);
                                                        }
                                                        __W3_Debug("LibW3-POP3", "Login successful");