diff options
Diffstat (limited to 'Source/CTest/Curl/Testing/ftpupload.c')
-rw-r--r-- | Source/CTest/Curl/Testing/ftpupload.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CTest/Curl/Testing/ftpupload.c b/Source/CTest/Curl/Testing/ftpupload.c index 2981f4a..bca0a56 100644 --- a/Source/CTest/Curl/Testing/ftpupload.c +++ b/Source/CTest/Curl/Testing/ftpupload.c @@ -74,7 +74,7 @@ int main(int argc, char **argv) curl_easy_setopt(curl, CURLOPT_INFILE, hd_src); /* and give the size of the upload (optional) */ - curl_easy_setopt(curl, CURLOPT_INFILESIZE, file_info.st_size); + curl_easy_setopt(curl, CURLOPT_INFILESIZE, (long)file_info.st_size); /* Now run off and do what you've been told! */ res = curl_easy_perform(curl); |