mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 15:48:49 -05:00
typecast the type to an int on return
This commit is contained in:
parent
134cb66129
commit
fa8ecd3d53
@ -8,6 +8,6 @@ int test(char *URL)
|
||||
curl_easy_setopt(curl, CURLOPT_HEADER, TRUE);
|
||||
res = curl_easy_perform(curl);
|
||||
curl_easy_cleanup(curl);
|
||||
return res;
|
||||
return (int)res;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user