mirror of
https://github.com/curl/curl.git
synced 2026-07-31 14:58:02 +03:00
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:
parent
2725488bea
commit
b65f0e04b9
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
]])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue