projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d30ddd9
)
compiler warning: fix
author
Yang Tse
<yangsita@gmail.com>
Sat, 21 May 2011 12:59:03 +0000
(14:59 +0200)
committer
Yang Tse
<yangsita@gmail.com>
Sat, 21 May 2011 12:59:03 +0000
(14:59 +0200)
Fix compiler warning: enumerated type mixed with another type
lib/ssluse.c
patch
|
blob
|
history
diff --git
a/lib/ssluse.c
b/lib/ssluse.c
index
cd138bb
..
38ad2b1
100644
(file)
--- 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);