From 043c7d7c9f9109ea510db0d418e056216fb49fa1 Mon Sep 17 00:00:00 2001 From: Miroslav Lichvar Date: Fri, 14 Jul 2017 10:21:31 +0200 Subject: [PATCH] configure: fix compiler warning in getrandom() test --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index b762e0d..45eddf1 100755 --- a/configure +++ b/configure @@ -659,7 +659,7 @@ if test_code 'arc4random_buf()' 'stdlib.h' '' '' 'arc4random_buf(NULL, 0);'; the fi if test_code 'getrandom()' 'stdlib.h sys/random.h' '' '' \ - 'getrandom(NULL, 256, 0);'; then + 'return getrandom(NULL, 256, 0);'; then add_def HAVE_GETRANDOM fi