From e95d34aa245abb5c7dba23a2da0d17c90e90f706 Mon Sep 17 00:00:00 2001 From: newhook Date: Wed, 22 Apr 2015 16:17:04 -0230 Subject: ICE-6455 - remove slice2py and slice2rb C++ exe Fix slice2rb.rb and slice2py.py scripts for Windows. Fix build issue with IceSSL and MinGW. --- cpp/src/IceSSL/Util.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpp/src/IceSSL/Util.cpp') diff --git a/cpp/src/IceSSL/Util.cpp b/cpp/src/IceSSL/Util.cpp index 06ee07cfece..2e3287c1c35 100644 --- a/cpp/src/IceSSL/Util.cpp +++ b/cpp/src/IceSSL/Util.cpp @@ -1116,7 +1116,7 @@ IceSSL::findCertificates(const string& prop, const string& storeSpec, const stri CERT_OID_NAME_STR | CERT_NAME_STR_FORCE_UTF8_DIR_STR_FLAG, CERT_OID_NAME_STR | CERT_NAME_STR_FORCE_UTF8_DIR_STR_FLAG | CERT_NAME_STR_REVERSE_FLAG }; - for(int i = 0; i < sizeof(flags) / sizeof(DWORD); ++i) + for(size_t i = 0; i < sizeof(flags) / sizeof(DWORD); ++i) { DWORD length = 0; if(!CertStrToNameW(X509_ASN_ENCODING, argW.c_str(), flags[i], 0, 0, &length, 0)) -- cgit v1.2.3