aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-07-14 14:20:53 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-07-14 14:20:53 +0000
commit0c54013ee374a92960c32011c16278e799f58dbf (patch)
tree428df557e66bcce40d5af875e94697d861c3817c
parentca5d1e7a8d2f85bf43ca25d981156c59956a1a53 (diff)
An Andres Garcia fix: add a typecast to make it work better
-rw-r--r--tests/libtest/lib505.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/libtest/lib505.c b/tests/libtest/lib505.c
index 62c7b6880..10aa1ab19 100644
--- a/tests/libtest/lib505.c
+++ b/tests/libtest/lib505.c
@@ -1,8 +1,8 @@
/*****************************************************************************
- * _ _ ____ _
- * Project ___| | | | _ \| |
- * / __| | | | |_) | |
- * | (__| |_| | _ <| |___
+ * _ _ ____ _
+ * Project ___| | | | _ \| |
+ * / __| | | | |_) | |
+ * | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
* $Id$
@@ -59,7 +59,7 @@ int test(char *URL)
}
/* get a FILE * of the same file, could also be made with
- fdopen() from the previous descriptor, but hey this is just
+ fdopen() from the previous descriptor, but hey this is just
an example! */
hd_src = fopen(arg2, "rb");
if(NULL == hd_src) {
@@ -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);