diff options
author | Roland McGrath <roland@redhat.com> | 1996-05-09 18:28:03 +0000 |
---|---|---|
committer | Roland McGrath <roland@redhat.com> | 1996-05-09 18:28:03 +0000 |
commit | abe5f6444015900837be5c499eb478929b6512f4 (patch) | |
tree | 3d7ee0d01ecc42f16c5a4a280e690621e33f4e37 /main.c | |
parent | 68b96506160a5e3d0f685a9141c34741de1db0f1 (diff) | |
download | gunmake-abe5f6444015900837be5c499eb478929b6512f4.tar.gz |
Thu May 9 13:54:49 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* main.c (main): Use unsigned for fread return.
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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)"); } |