projects
/
platform
/
upstream
/
coreutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d385bbc
)
(star_digits_closebracket): Declare formal param, IDX, and local I to
author
Jim Meyering
<jim@meyering.net>
Sat, 9 Mar 1996 20:25:29 +0000
(20:25 +0000)
committer
Jim Meyering
<jim@meyering.net>
Sat, 9 Mar 1996 20:25:29 +0000
(20:25 +0000)
be of type size_t (rather than int) to avoid warnings from gcc -Wall.
src/tr.c
patch
|
blob
|
history
diff --git
a/src/tr.c
b/src/tr.c
index 9b6e7923c6062451fa7a556b31fa29236931980e..2a97d8157d643de73cd3c85e4f9f8b837cdde2e9 100644
(file)
--- a/
src/tr.c
+++ b/
src/tr.c
@@
-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,
in
t idx)
+star_digits_closebracket (const struct E_string *es,
size_
t idx)
{
-
in
t i;
+
size_
t i;
if (!ES_MATCH (es, idx, '*'))
return 0;