summaryrefslogtreecommitdiffstats
path: root/xmlsecurity
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-01-26 17:05:19 +0100
committerStephan Bergmann <sbergman@redhat.com>2016-01-26 17:06:44 +0100
commit27feec6f91e464651ede25a955aac5bf75bcacf6 (patch)
treeb924f92d0cc72d250a653919057732883e112c33 /xmlsecurity
parent-Werror,-Wsign-compare (clang-cl) (diff)
downloadcore-27feec6f91e464651ede25a955aac5bf75bcacf6.tar.gz
core-27feec6f91e464651ede25a955aac5bf75bcacf6.zip
-Werror,-Wsign-compare (clang-cl)
Change-Id: Ib4ed6a89d8da6dd15c3931b0fb92a2ddf7576171
Diffstat (limited to 'xmlsecurity')
-rw-r--r--xmlsecurity/source/xmlsec/mscrypt/securityenvironment_mscryptimpl.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/xmlsecurity/source/xmlsec/mscrypt/securityenvironment_mscryptimpl.cxx b/xmlsecurity/source/xmlsec/mscrypt/securityenvironment_mscryptimpl.cxx
index b0193a5cf1ad..f78eeaa07afc 100644
--- a/xmlsecurity/source/xmlsec/mscrypt/securityenvironment_mscryptimpl.cxx
+++ b/xmlsecurity/source/xmlsec/mscrypt/securityenvironment_mscryptimpl.cxx
@@ -17,6 +17,9 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
+#include <sal/config.h>
+
+#include <cstddef>
#include <string.h>
#ifdef _MSC_VER
@@ -94,7 +97,7 @@ void traceTrustStatus(DWORD err)
{
if (err == 0)
SAL_INFO("xmlsecurity.xmlsec", " " << arErrStrings[0].name);
- for (int i = 1; i < SAL_N_ELEMENTS(arErrStrings); i++)
+ for (std::size_t i = 1; i < SAL_N_ELEMENTS(arErrStrings); i++)
{
if (arErrStrings[i].error & err)
SAL_INFO("xmlsecurity.xmlsec", " " << arErrStrings[i].name);