Compilation failed with openssl.

Missing a cast.

BUG=webrtc:5365

Review URL: https://codereview.webrtc.org/1529043003

Cr-Commit-Position: refs/heads/master@{#11074}
This commit is contained in:
guoweis
2015-12-17 13:44:57 -08:00
committed by Commit bot
parent 933f3ec924
commit efb047d2dd

View File

@ -365,7 +365,7 @@ std::string OpenSSLStreamAdapter::SslCipherSuiteToName(int cipher_suite) {
#else #else
for (const SslCipherMapEntry* entry = kSslCipherMap; entry->rfc_name; for (const SslCipherMapEntry* entry = kSslCipherMap; entry->rfc_name;
++entry) { ++entry) {
if (cipher_suite == entry->openssl_id) { if (cipher_suite == static_cast<int>(entry->openssl_id)) {
return entry->rfc_name; return entry->rfc_name;
} }
} }