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 | 0fac9b6505860bdacb92638f4d4d5dba6fc55795 (patch) | |
tree | 61b7b03beaa419447e9bab980cb3ff0d583d028e /xmlsecurity | |
parent | 8169109e434e10c5238f342f5a71dd5aaf72a9d2 (diff) |
jl137: casting CERTVerfiyLog.arg, which is void* not working on Linux x86_64
Diffstat (limited to 'xmlsecurity')
-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 71e108434484..4a9ee3622bc4 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: |