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 fc9af91..4d17ec1 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;