compiler warning: fix

Fix compiler warning: enumerated type mixed with another type
This commit is contained in:
Yang Tse
2011-05-21 14:10:17 +02:00
parent 004d84fcc1
commit fce7276f54
4 changed files with 4 additions and 4 deletions

View File

@@ -765,7 +765,7 @@ CURLcode Curl_open(struct SessionHandle **curl)
{
CURLcode res = CURLE_OK;
struct SessionHandle *data;
int status;
CURLcode status;
/* Very simple start-up: alloc the struct, init it with zeroes and return */
data = calloc(1, sizeof(struct SessionHandle));