summaryrefslogtreecommitdiff
path: root/xmlsecurity
diff options
context:
space:
mode:
authorFridrich Štrba <fridrich.strba@bluewin.ch>2013-06-06 19:48:48 +0200
committerFridrich Štrba <fridrich.strba@bluewin.ch>2013-06-06 19:49:56 +0200
commit9eb4e4dc51a4448d59ee80f39144387c7b3cffaf (patch)
treeca154ba2b8c61f87e7d772a4ed58134f6d73375b /xmlsecurity
parent44c133ef996e32ebdfc9560bcf14b0cd77196a9e (diff)
Some more modules at least building with mingw64
Change-Id: I3ea039655aecb7885bb310b1f2c29d66f9f7bb4f
Diffstat (limited to 'xmlsecurity')
-rw-r--r--xmlsecurity/source/xmlsec/nss/secerror.cxx5
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: