diff options
author | Jim Meyering <jim@meyering.net> | 2002-11-23 16:28:44 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2002-11-23 16:28:44 +0000 |
commit | 6533eac241dacabe000e101abb13b8b3d6e671da (patch) | |
tree | 87172cdb0ca977dd737e603cdd5fc49cf248fae8 /src | |
parent | 8442061b300bd706891f19c1edf4e8fbff7b50db (diff) | |
download | coreutils-6533eac241dacabe000e101abb13b8b3d6e671da.tar.xz |
(output): Declare some local variables to be of type size_t,
rather than `int' to avoid warnings from gcc.
Diffstat (limited to 'src')
-rw-r--r-- | src/tac.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -155,9 +155,9 @@ static void output (const char *start, const char *past_end) { static char buffer[WRITESIZE]; - static int bytes_in_buffer = 0; - int bytes_to_add = past_end - start; - int bytes_available = WRITESIZE - bytes_in_buffer; + static size_t bytes_in_buffer = 0; + size_t bytes_to_add = past_end - start; + size_t bytes_available = WRITESIZE - bytes_in_buffer; if (start == 0) { |