From: nishi Date: Sat, 27 Jan 2024 02:37:25 +0000 (+0000) Subject: fixing function pointer warning X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=a35a0b9ef68b93db6e94821ceef81d22b5090af6;p=libw3.git fixing function pointer warning git-svn-id: file:///raid/svn-main/nishi-libw3/trunk@105 d27a3e52-49c5-7645-884c-6793ebffc270 --- diff --git a/Library/POP3.c b/Library/POP3.c index 0c15f5f..4595355 100644 --- a/Library/POP3.c +++ b/Library/POP3.c @@ -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");