diff options
Diffstat (limited to 'xmlsecurity/source/xmlsec/nss')
-rw-r--r-- | xmlsecurity/source/xmlsec/nss/nssinitializer.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/xmlsecurity/source/xmlsec/nss/nssinitializer.cxx b/xmlsecurity/source/xmlsec/nss/nssinitializer.cxx index 80d4e108ac3e..29b26734e04a 100644 --- a/xmlsecurity/source/xmlsec/nss/nssinitializer.cxx +++ b/xmlsecurity/source/xmlsec/nss/nssinitializer.cxx @@ -41,6 +41,7 @@ #include "digestcontext.hxx" #include "ciphercontext.hxx" +#include <cstddef> #include <memory> #include <vector> @@ -222,7 +223,7 @@ const OUString & ONSSInitializer::getMozillaCurrentProfile(const css::uno::Refer if (xMozillaBootstrap.is()) { - for (int i=0; i<int(SAL_N_ELEMENTS(productTypes)); ++i) + for (std::size_t i=0; i<SAL_N_ELEMENTS(productTypes); ++i) { OUString profile = xMozillaBootstrap->getDefaultProfile(productTypes[i]); @@ -262,7 +263,7 @@ css::uno::Sequence<css::xml::crypto::NSSProfile> SAL_CALL ONSSInitializer::getNS if (xMozillaBootstrap.is()) { - for (int i=0; i<int(SAL_N_ELEMENTS(productTypes)); ++i) + for (std::size_t i=0; i<SAL_N_ELEMENTS(productTypes); ++i) { uno::Sequence<OUString> aProductProfileList; xMozillaBootstrap->getProfileList(productTypes[i], aProductProfileList); |