summaryrefslogtreecommitdiff
path: root/src/tr.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1995-07-16 05:39:09 +0000
committerJim Meyering <jim@meyering.net>1995-07-16 05:39:09 +0000
commit14aaf3eab3fd602edd5d808fc81afe20e6fc51fd (patch)
tree29f6d108415fcba0bc24c3e7597991fbe462468c /src/tr.c
parentadfa243b0ddc72262db7e6b1092ccc88ecc64d6b (diff)
downloadcoreutils-14aaf3eab3fd602edd5d808fc81afe20e6fc51fd.tar.xz
(build_spec_list): Declare CLOSING_DELIM_IDX and CLOSING_BRACKET_IDX to
be of type size_t, not int. (main): Declare NR and CHARS_READ to be of type long, not int.
Diffstat (limited to 'src/tr.c')
-rw-r--r--src/tr.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/tr.c b/src/tr.c
index 062ac5ca0..2cbcddbe5 100644
--- a/src/tr.c
+++ b/src/tr.c
@@ -1006,8 +1006,8 @@ build_spec_list (unescaped_string, len, result)
fall_through = 0;
switch (p[i + 1])
{
- int closing_delim_idx;
- int closing_bracket_idx;
+ size_t closing_delim_idx;
+ size_t closing_bracket_idx;
unsigned int char_to_repeat;
size_t repeat_count;
int found;
@@ -1864,7 +1864,7 @@ without squeezing repeats");
}
else if (delete && non_option_args == 1)
{
- int nr;
+ long nr;
set_initialize (s1, complement, in_delete_set);
do
@@ -1941,7 +1941,7 @@ without squeezing repeats");
}
else
{
- int chars_read;
+ long chars_read;
do
{