mirror of
https://github.com/moparisthebest/curl
synced 2025-03-11 07:39:50 -04:00
An Andres Garcia fix: add a typecast to make it work better
This commit is contained in:
parent
ca5d1e7a8d
commit
0c54013ee3
@ -98,7 +98,7 @@ int test(char *URL)
|
||||
|
||||
/* and give the size of the upload (optional) */
|
||||
curl_easy_setopt(curl, CURLOPT_INFILESIZE_LARGE,
|
||||
file_info.st_size);
|
||||
(curl_off_t)file_info.st_size);
|
||||
|
||||
/* Now run off and do what you've been told! */
|
||||
res = curl_easy_perform(curl);
|
||||
|
Loading…
x
Reference in New Issue
Block a user