diff options
author | Jim Meyering <jim@meyering.net> | 2002-09-29 21:31:29 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2002-09-29 21:31:29 +0000 |
commit | 8adddf55c0401fe80001201b8b691859e418dc7f (patch) | |
tree | f012db8558ca7ed61dd918040396fe7cb8ba2598 /src | |
parent | 9df8af3675e1da06f69d4ee65591fdf51dd7dd11 (diff) | |
download | coreutils-8adddf55c0401fe80001201b8b691859e418dc7f.tar.xz |
(find_bracketed_repeat): Rearrange pointer/integer
expression to avoid warning from gcc.
Diffstat (limited to 'src')
-rw-r--r-- | src/tr.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -899,7 +899,7 @@ find_bracketed_repeat (const struct E_string *es, size_t start_idx, if (xstrtoul (digit_str, &d_end, base, &tmp_ulong, NULL) != LONGINT_OK || BEGIN_STATE < tmp_ulong - || d_end - digit_str != digit_str_len) + || digit_str + digit_str_len != d_end) { char *tmp = make_printable_str (es->s + start_idx + 2, i - start_idx - 2); |