aboutsummaryrefslogtreecommitdiff
path: root/src/util.c
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2008-02-09 10:31:53 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2008-02-09 10:31:53 +0000
commit69549d1b94d3890bd9f5340f9b4239d88a196706 (patch)
tree0a3c418882c762b006727a4f5987141906c6083b /src/util.c
parent6b2f265f6e5944d85ba8608e4ce859fe019eb750 (diff)
downloadcpio-69549d1b94d3890bd9f5340f9b4239d88a196706.tar.gz
cpio-69549d1b94d3890bd9f5340f9b4239d88a196706.tar.bz2
* NEWS, configure.ac: Raise the patchlevel number.
* THANKS: Update * doc/cpio.texi: Fix a typo. * src/extern.h (warn_if_file_changed): Fix type of the 2nd argument. * src/tar.c (write_out_tar_header): Stylistic change. * src/util.c (copy_files_disk_to_disk): Fix types of automatic variables. (warn_if_file_changed): Fix type of the 2nd argument. Patches supplied by Ladislav Michnovic.
Diffstat (limited to 'src/util.c')
-rw-r--r--src/util.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/util.c b/src/util.c
index 2d75403..2b765d9 100644
--- a/src/util.c
+++ b/src/util.c
@@ -527,8 +527,8 @@ void
copy_files_disk_to_disk (int in_des, int out_des, off_t num_bytes,
char *filename)
{
- long size;
- long k;
+ off_t size;
+ off_t k;
off_t original_num_bytes;
int rc;
@@ -569,7 +569,7 @@ copy_files_disk_to_disk (int in_des, int out_des, off_t num_bytes,
/* Warn if file changed while it was being copied. */
void
-warn_if_file_changed (char *file_name, unsigned long old_file_size,
+warn_if_file_changed (char *file_name, off_t old_file_size,
time_t old_file_mtime)
{
struct stat new_file_stat;

Return to:

Send suggestions and report system problems to the System administrator.