Mercurial > hg > octave-lojdl > gnulib-hg
changeset 3672:ce6c2ead6307
(readtoken): Declare an index to be of type unsigned
to avoid a pedantic warning.
author | Jim Meyering <jim@meyering.net> |
---|---|
date | Sun, 09 Dec 2001 22:39:02 +0000 |
parents | e4228fee6413 |
children | b28353634197 |
files | lib/readtokens.c |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lib/readtokens.c +++ b/lib/readtokens.c @@ -108,9 +108,10 @@ if (!same_delimiters) { const char *t; + unsigned int j; saved_delim = delim; - for (i = 0; i < sizeof (isdelim); i++) - isdelim[i] = 0; + for (j = 0; j < sizeof (isdelim); j++) + isdelim[j] = 0; for (t = delim; *t; t++) isdelim[(unsigned int) *t] = 1; }