summaryrefslogtreecommitdiffstats
path: root/contrib/cvs/diff/io.c
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2002-09-02 05:50:28 +0000
committerpeter <peter@FreeBSD.org>2002-09-02 05:50:28 +0000
commit9977823bcf0469bcd2b9a4a936f590610431dc1e (patch)
treeccb6a9c2edcbb1838738b9919d5b6b414e18328e /contrib/cvs/diff/io.c
parent079d840809a2a051b85438534384a2d309b9543f (diff)
parentcf46dfb750863d760d19b9858b0a336b158275da (diff)
downloadFreeBSD-src-9977823bcf0469bcd2b9a4a936f590610431dc1e.zip
FreeBSD-src-9977823bcf0469bcd2b9a4a936f590610431dc1e.tar.gz
This commit was generated by cvs2svn to compensate for changes in r102840,
which included commits to RCS files with non-trunk default branches.
Diffstat (limited to 'contrib/cvs/diff/io.c')
-rw-r--r--contrib/cvs/diff/io.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/cvs/diff/io.c b/contrib/cvs/diff/io.c
index 730c09a..9eb2d5d 100644
--- a/contrib/cvs/diff/io.c
+++ b/contrib/cvs/diff/io.c
@@ -101,7 +101,7 @@ sip (current, skip_test)
#if HAVE_SETMODE
int oldmode = setmode (current->desc, O_BINARY);
#endif
- size_t n = read (current->desc, current->buffer, current->bufsize);
+ ssize_t n = read (current->desc, current->buffer, current->bufsize);
if (n == -1)
pfatal_with_name (current->name);
current->buffered_chars = n;
@@ -128,7 +128,7 @@ void
slurp (current)
struct file_data *current;
{
- size_t cc;
+ ssize_t cc;
if (current->desc < 0)
/* The file is nonexistent. */
OpenPOWER on IntegriCloud