summaryrefslogtreecommitdiff
path: root/lib/ssluse.c
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2011-05-21 14:59:03 +0200
committerYang Tse <yangsita@gmail.com>2011-05-21 14:59:03 +0200
commit79cc6c244ac7e150a0925443f9545649be1f0f3f (patch)
treed6a8a21374938f6318104ea09733a90cf0132bc1 /lib/ssluse.c
parentd30ddd99770348c4b6e2fd6f8a9105a204ff35fe (diff)
downloadcurl-79cc6c244ac7e150a0925443f9545649be1f0f3f.tar.gz
compiler warning: fix
Fix compiler warning: enumerated type mixed with another type
Diffstat (limited to 'lib/ssluse.c')
-rw-r--r--lib/ssluse.c2
1 files changed, 1 insertions, 1 deletions
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);