1
0
mirror of https://github.com/moparisthebest/curl synced 2024-11-04 16:45:06 -05:00

compiler warning: fix

Fix compiler warning: enumerated type mixed with another type
This commit is contained in:
Yang Tse 2011-05-21 14:59:03 +02:00
parent d30ddd9977
commit 79cc6c244a

View File

@ -1255,7 +1255,7 @@ static CURLcode verifyhost(struct connectdata *conn,
peer_CN = NULL; peer_CN = NULL;
else { else {
/* convert peer_CN from UTF8 */ /* convert peer_CN from UTF8 */
size_t rc = Curl_convert_from_utf8(data, peer_CN, strlen(peer_CN)); CURLcode rc = Curl_convert_from_utf8(data, peer_CN, strlen(peer_CN));
/* Curl_convert_from_utf8 calls failf if unsuccessful */ /* Curl_convert_from_utf8 calls failf if unsuccessful */
if(rc) { if(rc) {
OPENSSL_free(peer_CN); OPENSSL_free(peer_CN);