From 79cc6c244ac7e150a0925443f9545649be1f0f3f Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Sat, 21 May 2011 14:59:03 +0200 Subject: compiler warning: fix Fix compiler warning: enumerated type mixed with another type --- lib/ssluse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ssluse.c b/lib/ssluse.c index cd138bb6e..38ad2b1ff 100644 --- a/lib/ssluse.c +++ b/lib/ssluse.c @@ -1255,7 +1255,7 @@ static CURLcode verifyhost(struct connectdata *conn, peer_CN = NULL; else { /* 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 */ if(rc) { OPENSSL_free(peer_CN); -- cgit v1.2.3