From fdd97fb951e439574f00d1d64bf166394282c36c Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Sat, 5 Mar 2016 18:37:40 +1300 Subject: Correct type for bytes-read --- cfp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cfp.c b/cfp.c index 9d0d5a7..47b4bbe 100644 --- a/cfp.c +++ b/cfp.c @@ -2,7 +2,7 @@ /* Function writes the contents of an opened file descriptor to stdout */ int cfp(FILE *fp, void *buf) { - int br; + size_t br; /* Use the buffer to read the file in blocks, writing each block to stdout * as we go */ -- cgit v1.2.3