docs/example patches for VMS

This commit is contained in:
Yang Tse
2009-06-05 18:40:40 +00:00
parent e3d65389d7
commit 6582895b51
4 changed files with 11 additions and 7 deletions

View File

@@ -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");