From 74a546a9e7d4a986e152a4216f462eefac266507 Mon Sep 17 00:00:00 2001 From: Miroslav Lichvar Date: Fri, 31 Aug 2018 11:04:36 +0200 Subject: [PATCH] configure: fix compiler warning in pthread test code --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 33aacdf..486b0bc 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