]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
fix compiler warning: enumerated type mixed with another type
authorYang Tse <yangsita@gmail.com>
Tue, 30 Sep 2008 12:50:52 +0000 (12:50 +0000)
committerYang Tse <yangsita@gmail.com>
Tue, 30 Sep 2008 12:50:52 +0000 (12:50 +0000)
lib/sendf.c

index fc9af912ba02749521b97ff3d14805a6e9afc6ab..4d17ec1334db9ad4c02a54b53b6aeaee0ef07f33 100644 (file)
@@ -638,7 +638,7 @@ int Curl_read(struct connectdata *conn, /* connection data */
       nread = Curl_sec_read(conn, sockfd, buffertofill,
                             bytesfromsocket);
     else {
-      CURLcode ret = Curl_read_plain(sockfd, buffertofill, bytesfromsocket,
+      int ret = Curl_read_plain(sockfd, buffertofill, bytesfromsocket,
                                      &nread);
       if(ret)
         return ret;