Fix compiler warning with openssl

pull/97/head
Tatsuhiro Tsujikawa 2013-05-25 23:27:56 +09:00
parent 84769bce57
commit e760b3bd6e
1 changed files with 1 additions and 1 deletions

View File

@ -192,7 +192,7 @@ std::string usedLibs()
res += "GnuTLS/"GNUTLS_VERSION" ";
#endif // HAVE_LIBGNUTLS
#ifdef HAVE_OPENSSL
res += fmt("OpenSSL/%d.%d.%d",
res += fmt("OpenSSL/%ld.%ld.%ld",
OPENSSL_VERSION_NUMBER >> 28,
(OPENSSL_VERSION_NUMBER >> 20) & 0xff,
(OPENSSL_VERSION_NUMBER >> 12) & 0xff);