diff options
author | Jim Meyering <jim@meyering.net> | 2002-10-12 09:33:34 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2002-10-12 09:33:34 +0000 |
commit | 707f8bfa62b6ad2f0457748004d84b4e1b444868 (patch) | |
tree | 2aa3d43cf56af966bcc4a6017e07708882725480 /src | |
parent | 81817a30ea46b37cef51e475fb34987db6012d4a (diff) | |
download | coreutils-707f8bfa62b6ad2f0457748004d84b4e1b444868.tar.xz |
(print_long_entry): fread returns size_t.
Declare local `bytes' accordingly, to avoid warning.
Diffstat (limited to 'src')
-rw-r--r-- | src/pinky.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pinky.c b/src/pinky.c index 59400d785..f625d14dc 100644 --- a/src/pinky.c +++ b/src/pinky.c @@ -336,7 +336,7 @@ print_long_entry (const char name[]) stream = fopen (project, "r"); if (stream) { - int bytes; + size_t bytes; printf (_("Project: ")); @@ -362,7 +362,7 @@ print_long_entry (const char name[]) stream = fopen (plan, "r"); if (stream) { - int bytes; + size_t bytes; printf (_("Plan:\n")); |