mirror of
https://github.com/curl/curl.git
synced 2026-08-26 06:43:31 +03:00
Do an explicit typecast of data pointers to function pointers
to avoid picky compiler warnings, since this is what we want!
This commit is contained in:
parent
125830ab4b
commit
8a8d5c784c
2 changed files with 10 additions and 8 deletions
|
|
@ -189,7 +189,7 @@ static void DynaClose(void)
|
|||
|
||||
static dynafunc DynaGetFunction(const char *name)
|
||||
{
|
||||
dynafunc func = (dynafunc)NULL;
|
||||
dynafunc func = (void *(*)(void *))NULL;
|
||||
|
||||
#if defined(HAVE_DLOPEN) || defined(HAVE_LIBDL)
|
||||
if (libldap) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue