From 6a5fec1cca542ee4c0dfa716dfc38e08df701e5c Mon Sep 17 00:00:00 2001 From: Jack Lloyd Date: Sun, 17 Sep 2017 12:00:20 -0400 Subject: Avoid int vs size_t warning in OpenSSL code --- src/lib/prov/openssl/openssl_ec.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/prov/openssl') diff --git a/src/lib/prov/openssl/openssl_ec.cpp b/src/lib/prov/openssl/openssl_ec.cpp index 4e68258ef..4d26661ac 100644 --- a/src/lib/prov/openssl/openssl_ec.cpp +++ b/src/lib/prov/openssl/openssl_ec.cpp @@ -74,7 +74,7 @@ int OpenSSL_EC_curve_builtin(int nid) return -1; } - for(int i=0; i < num; ++i) + for(size_t i = 0; i < num; ++i) { if(builtin_curves[i].nid == nid) { -- cgit v1.2.3