mirror of
https://github.com/pocoproject/poco.git
synced 2024-12-12 18:20:26 +01:00
fix osx clang compile
This commit is contained in:
parent
a4c744fdba
commit
c8c6662069
@ -87,9 +87,9 @@ Poco::Exception* OpenSSLException::clone() const
|
||||
|
||||
void OpenSSLException::setExtMessage()
|
||||
{
|
||||
unsigned long e = ERR_get_error();
|
||||
Poco::UInt64 e = static_cast<Poco::UInt64>(ERR_get_error());
|
||||
char buf[128] = { 0 };
|
||||
char* pErr = ERR_error_string(e, buf);
|
||||
char* pErr = ERR_error_string(static_cast<unsigned long>(e), buf);
|
||||
std::string err;
|
||||
if (pErr) err = pErr;
|
||||
else err = NumberFormatter::format(e);
|
||||
|
Loading…
Reference in New Issue
Block a user