From: Wouter Wijngaards Date: Tue, 17 Mar 2015 09:44:57 +0000 (+0000) Subject: please lint. X-Git-Tag: release-1.5.4~64 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6c6ef98b3876495a501b64ccb25dbe1fcfb60bba;p=thirdparty%2Funbound.git please lint. git-svn-id: file:///svn/unbound/trunk@3367 be551aaa-1e26-0410-a405-d3ace91eadb9 --- diff --git a/util/net_help.c b/util/net_help.c index 2cefac5a9..b188cd5d8 100644 --- a/util/net_help.c +++ b/util/net_help.c @@ -790,7 +790,7 @@ int ub_openssl_lock_init(void) #if defined(HAVE_SSL) && defined(OPENSSL_THREADS) && !defined(THREADS_DISABLED) int i; ub_openssl_locks = (lock_basic_t*)reallocarray( - NULL, CRYPTO_num_locks(), sizeof(lock_basic_t)); + NULL, (size_t)CRYPTO_num_locks(), sizeof(lock_basic_t)); if(!ub_openssl_locks) return 0; for(i=0; i