autotools: fix HAVE_IOCTLSOCKET_FIONBIO test for gcc 14

```
conftest.c:152:41: error: passing argument 3 of 'ioctlsocket' from incompatible pointer type [-Wincompatible-pointer-types]
  152 |         if(0 != ioctlsocket(0, FIONBIO, &flags))
      |                                         ^~~~~~
      |                                         |
      |                                         int *
```

Reported-by: LigH
Fixes #13579
Closes #13587
This commit is contained in:
Viktor Szakats 2024-05-10 18:01:22 +02:00
parent 2725488bea
commit b65f0e04b9
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201

View file

@ -3592,7 +3592,7 @@ AC_DEFUN([CURL_CHECK_FUNC_IOCTLSOCKET_FIONBIO], [
AC_LANG_PROGRAM([[
$curl_includes_winsock2
]],[[
int flags = 0;
unsigned long flags = 0;
if(0 != ioctlsocket(0, FIONBIO, &flags))
return 1;
]])