summaryrefslogtreecommitdiff
path: root/xmlsecurity/source/xmlsec/nss
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-10-15 13:52:39 +0200
committerNoel Grandin <noel@peralex.com>2014-10-15 13:57:08 +0200
commitfb7b1f45f9593db2d040dfaa06db0ea60f5308ba (patch)
tree7055dd3d1436a6ba4fe19f0d84a4d096ff401aab /xmlsecurity/source/xmlsec/nss
parent5a5d55a8a0f82406a8001015a723596f21d3562c (diff)
loplugin: cstylecast
Change-Id: I96a0d5d7ec3363076b0165f3c540c51ef01b58f3
Diffstat (limited to 'xmlsecurity/source/xmlsec/nss')
-rw-r--r--xmlsecurity/source/xmlsec/nss/secerror.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmlsecurity/source/xmlsec/nss/secerror.cxx b/xmlsecurity/source/xmlsec/nss/secerror.cxx
index 3129f45877f1..2d140f040891 100644
--- a/xmlsecurity/source/xmlsec/nss/secerror.cxx
+++ b/xmlsecurity/source/xmlsec/nss/secerror.cxx
@@ -88,7 +88,7 @@ printChainFailure(CERTVerifyLog *log)
switch (node->error)
{
case SEC_ERROR_INADEQUATE_KEY_USAGE:
- errorFlags = (sal_uIntPtr)node->arg;
+ errorFlags = reinterpret_cast<unsigned long>(node->arg);
switch (errorFlags)
{
case KU_DIGITAL_SIGNATURE:
@@ -106,7 +106,7 @@ printChainFailure(CERTVerifyLog *log)
}
break;
case SEC_ERROR_INADEQUATE_CERT_TYPE:
- errorFlags = (sal_uIntPtr)node->arg;
+ errorFlags = reinterpret_cast<unsigned long>(node->arg);
switch (errorFlags)
{
case NS_CERT_TYPE_SSL_CLIENT: