From: Miroslav Lichvar Date: Fri, 31 Aug 2018 09:04:36 +0000 (+0200) Subject: configure: fix compiler warning in pthread test code X-Git-Tag: 3.4~21 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=74a546a9e7d4a986e152a4216f462eefac266507;p=thirdparty%2Fchrony.git configure: fix compiler warning in pthread test code --- diff --git a/configure b/configure index 33aacdfa..486b0bcd 100755 --- a/configure +++ b/configure @@ -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