diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2003-11-03 21:59:15 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2003-11-03 21:59:15 (GMT) |
commit | def3fd04366472e80b0546122af82d9b80af9c0a (patch) | |
tree | 6033ff6cf22a1c9c5e2f322d5bdc6cd212c9d7ff /Source/CTest/Curl/Testing | |
parent | eff0a824c4b1330da985dff3b7b9fa3793937866 (diff) | |
download | CMake-def3fd04366472e80b0546122af82d9b80af9c0a.zip CMake-def3fd04366472e80b0546122af82d9b80af9c0a.tar.gz CMake-def3fd04366472e80b0546122af82d9b80af9c0a.tar.bz2 |
BUG: This fixes problem when submitting bugs on Mac: Bug #320 - When st_size in stat is 64 bit ctest does not submit
Diffstat (limited to 'Source/CTest/Curl/Testing')
-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); |