summaryrefslogtreecommitdiff
path: root/docs/examples/ftpupload.c
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2009-06-05 18:40:40 +0000
committerYang Tse <yangsita@gmail.com>2009-06-05 18:40:40 +0000
commit6582895b5146149aab7c619cbcb0ea292cfe12e6 (patch)
tree84ed86d2b403fcd497eca23f064ff7ef03c391f5 /docs/examples/ftpupload.c
parente3d65389d7f3d564d318428eb0f72a8466e476f0 (diff)
downloadcurl-6582895b5146149aab7c619cbcb0ea292cfe12e6.tar.gz
docs/example patches for VMS
Diffstat (limited to 'docs/examples/ftpupload.c')
-rw-r--r--docs/examples/ftpupload.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/examples/ftpupload.c b/docs/examples/ftpupload.c
index 76fc92ebb..a72792479 100644
--- a/docs/examples/ftpupload.c
+++ b/docs/examples/ftpupload.c
@@ -65,7 +65,7 @@ int main(int argc, char **argv)
printf("Couldnt open '%s': %s\n", LOCAL_FILE, strerror(errno));
return 1;
}
- printf("Local file size: %ld bytes.\n", file_info.st_size);
+ printf("Local file size: %ld bytes.\n", (long)file_info.st_size);
/* get a FILE * of the same file */
hd_src = fopen(LOCAL_FILE, "rb");