diff options
author | Jim Meyering <jim@meyering.net> | 1996-03-09 20:25:29 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1996-03-09 20:25:29 +0000 |
commit | f090816a3f47c7bd8282978e6893db977fe91824 (patch) | |
tree | 0090d3b94deb32a63e737cb2045982afe78a99b3 | |
parent | d385bbc98542ea77523412a71c2d1043573fee70 (diff) | |
download | coreutils-f090816a3f47c7bd8282978e6893db977fe91824.tar.xz |
(star_digits_closebracket): Declare formal param, IDX, and local I to
be of type size_t (rather than int) to avoid warnings from gcc -Wall.
-rw-r--r-- | src/tr.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -966,9 +966,9 @@ find_bracketed_repeat (const struct E_string *es, size_t start_idx, the `]' must not be escaped. */ static int -star_digits_closebracket (const struct E_string *es, int idx) +star_digits_closebracket (const struct E_string *es, size_t idx) { - int i; + size_t i; if (!ES_MATCH (es, idx, '*')) return 0; |