configure: fix compiler warning in pthread test code
This commit is contained in:
parent
d1777087c1
commit
74a546a9e7
1 changed files with 1 additions and 1 deletions
2
configure
vendored
2
configure
vendored
|
@ -647,7 +647,7 @@ fi
|
|||
|
||||
if [ $feat_asyncdns = "1" ] && \
|
||||
test_code 'pthread' 'pthread.h' '-pthread' '' \
|
||||
'return pthread_create((void *)1, NULL, (void *)1, NULL);'
|
||||
'return (int)pthread_create((void *)1, NULL, (void *)1, NULL);'
|
||||
then
|
||||
add_def FEAT_ASYNCDNS
|
||||
add_def USE_PTHREAD_ASYNCDNS
|
||||
|
|
Loading…
Reference in a new issue