diff options
author | Joachim Lingner <jl@openoffice.org> | 2009-11-30 15:26:03 +0100 |
---|---|---|
committer | Joachim Lingner <jl@openoffice.org> | 2009-11-30 15:26:03 +0100 |
commit | cb6a77275f3f5a6f1b1e5c322b8979389d8a095a (patch) | |
tree | d753cb8aa3e35aeec7c6beeebbe9eccc9cf1af23 /xmlsecurity/source/xmlsec/nss/secerror.cxx | |
parent | f90fe7df0d7886c29043559b678aca7897cbf907 (diff) |
jl137: casting CERTVerfiyLog.arg, which is void* not working on Linux x86_64
Diffstat (limited to 'xmlsecurity/source/xmlsec/nss/secerror.cxx')
-rw-r--r-- | xmlsecurity/source/xmlsec/nss/secerror.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xmlsecurity/source/xmlsec/nss/secerror.cxx b/xmlsecurity/source/xmlsec/nss/secerror.cxx index a3f352d21..4c440fa2e 100644 --- a/xmlsecurity/source/xmlsec/nss/secerror.cxx +++ b/xmlsecurity/source/xmlsec/nss/secerror.cxx @@ -73,7 +73,7 @@ getCertError(PRErrorCode errNum) void printChainFailure(CERTVerifyLog *log) { - unsigned int errorFlags = 0; + unsigned long errorFlags = 0; unsigned int depth = (unsigned int)-1; const char * specificError = NULL; const char * issuer = NULL; @@ -98,7 +98,7 @@ printChainFailure(CERTVerifyLog *log) switch (node->error) { case SEC_ERROR_INADEQUATE_KEY_USAGE: - errorFlags = (unsigned int)node->arg; + errorFlags = (unsigned long)node->arg; switch (errorFlags) { case KU_DIGITAL_SIGNATURE: @@ -115,7 +115,7 @@ printChainFailure(CERTVerifyLog *log) break; } case SEC_ERROR_INADEQUATE_CERT_TYPE: - errorFlags = (unsigned int)node->arg; + errorFlags = (unsigned long)node->arg; switch (errorFlags) { case NS_CERT_TYPE_SSL_CLIENT: |