From abe5f6444015900837be5c499eb478929b6512f4 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Thu, 9 May 1996 18:28:03 +0000 Subject: [PATCH] Thu May 9 13:54:49 1996 Roland McGrath * main.c (main): Use unsigned for fread return. --- main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.c b/main.c index 3525fedc..d16e7f44 100644 --- a/main.c +++ b/main.c @@ -1,5 +1,5 @@ /* Argument parsing and main program of GNU Make. -Copyright (C) 1988, 89, 90, 91, 94, 1995 Free Software Foundation, Inc. +Copyright (C) 1988, 89, 90, 91, 94, 1995, 1996 Free Software Foundation, Inc. This file is part of GNU Make. GNU Make is free software; you can redistribute it and/or modify @@ -780,7 +780,7 @@ int main (int argc, char ** argv) while (!feof (stdin)) { char buf[2048]; - int n = fread (buf, 1, sizeof(buf), stdin); + unsigned int n = fread (buf, 1, sizeof(buf), stdin); if (n > 0 && fwrite (buf, 1, n, outfile) != n) pfatal_with_name ("fwrite (temporary file)"); }