From e760b3bd6e50b4e227cee3b0a895c66462e5be1e Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Sat, 25 May 2013 23:27:56 +0900 Subject: [PATCH] Fix compiler warning with openssl --- src/FeatureConfig.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/FeatureConfig.cc b/src/FeatureConfig.cc index 36f8e90a..c78043f5 100644 --- a/src/FeatureConfig.cc +++ b/src/FeatureConfig.cc @@ -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);