diff options
author | Yang Tse <yangsita@gmail.com> | 2011-05-21 14:59:03 +0200 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2011-05-21 14:59:03 +0200 |
commit | 79cc6c244ac7e150a0925443f9545649be1f0f3f (patch) | |
tree | d6a8a21374938f6318104ea09733a90cf0132bc1 /lib | |
parent | d30ddd99770348c4b6e2fd6f8a9105a204ff35fe (diff) |
compiler warning: fix
Fix compiler warning: enumerated type mixed with another type
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ssluse.c | 2 |
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); |