diff options
Diffstat (limited to 'xmlsecurity')
-rw-r--r-- | xmlsecurity/source/xmlsec/nss/secerror.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/xmlsecurity/source/xmlsec/nss/secerror.cxx b/xmlsecurity/source/xmlsec/nss/secerror.cxx index 98aecbe2ed40..cea78a8dd0e1 100644 --- a/xmlsecurity/source/xmlsec/nss/secerror.cxx +++ b/xmlsecurity/source/xmlsec/nss/secerror.cxx @@ -24,6 +24,7 @@ #include "nss.h" #include "certt.h" #include <sal/macros.h> +#include <sal/types.h> #include "../diagnose.hxx" @@ -89,7 +90,7 @@ printChainFailure(CERTVerifyLog *log) switch (node->error) { case SEC_ERROR_INADEQUATE_KEY_USAGE: - errorFlags = (unsigned long)node->arg; + errorFlags = (sal_uIntPtr)node->arg; switch (errorFlags) { case KU_DIGITAL_SIGNATURE: @@ -107,7 +108,7 @@ printChainFailure(CERTVerifyLog *log) } break; case SEC_ERROR_INADEQUATE_CERT_TYPE: - errorFlags = (unsigned long)node->arg; + errorFlags = (sal_uIntPtr)node->arg; switch (errorFlags) { case NS_CERT_TYPE_SSL_CLIENT: |