mirror of
https://github.com/curl/curl.git
synced 2024-11-21 01:16:58 +08:00
fix compiler warning: enumerated type mixed with another type
This commit is contained in:
parent
09777a4fc2
commit
6c89e1b311
@ -60,7 +60,7 @@ static curlioerr ioctlcallback(CURL *handle,
|
||||
|
||||
int test(char *URL)
|
||||
{
|
||||
CURLcode res;
|
||||
int res;
|
||||
CURL *curl;
|
||||
int counter=0;
|
||||
CURLM *m;
|
||||
@ -142,6 +142,6 @@ int test(char *URL)
|
||||
|
||||
curl_global_cleanup();
|
||||
|
||||
return (int)res;
|
||||
return res;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user