aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>1996-05-09 18:28:03 +0000
committerRoland McGrath <roland@redhat.com>1996-05-09 18:28:03 +0000
commitabe5f6444015900837be5c499eb478929b6512f4 (patch)
tree3d7ee0d01ecc42f16c5a4a280e690621e33f4e37
parent68b96506160a5e3d0f685a9141c34741de1db0f1 (diff)
downloadgunmake-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.
-rw-r--r--main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.c b/main.c
index 3525fed..d16e7f4 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)");
}