about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--libio/fileops.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 1d2ba89be4..39b816e385 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+1998-08-11 13:57  Ulrich Drepper  <drepper@cygnus.com>
+
+	* libio/fileops.c (_IO_file_sync): Use _IO_ssize_t for delta, not
+	_IO_size_t.
+
 1998-08-10 15:49  Ulrich Drepper  <drepper@cygnus.com>
 
 	* include/dirent.h: Protect from double inclusion.
diff --git a/libio/fileops.c b/libio/fileops.c
index 0192531c18..596d97078a 100644
--- a/libio/fileops.c
+++ b/libio/fileops.c
@@ -431,7 +431,7 @@ int
 _IO_file_sync (fp)
      _IO_FILE *fp;
 {
-  _IO_size_t delta;
+  _IO_ssize_t delta;
   int retval = 0;
 
   /*    char* ptr = cur_ptr(); */