From 6c6ef98b3876495a501b64ccb25dbe1fcfb60bba Mon Sep 17 00:00:00 2001 From: Wouter Wijngaards Date: Tue, 17 Mar 2015 09:44:57 +0000 Subject: [PATCH] please lint. git-svn-id: file:///svn/unbound/trunk@3367 be551aaa-1e26-0410-a405-d3ace91eadb9 --- util/net_help.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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