1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-08-15 14:39:26 +02:00

(find_bracketed_repeat): Add a cast to suppress a warning.

This commit is contained in:
Jim Meyering
2000-06-29 11:15:52 +00:00
parent 4c27ffdf05
commit 81d46d192a
+1 -1
View File
@@ -879,7 +879,7 @@ find_bracketed_repeat (const struct E_string *es, size_t start_idx,
/* Here, we have found [c*s] where s should be a string
of octal (if it starts with `0') or decimal digits. */
{
const char *digit_str = &es->s[start_idx + 2];
const char *digit_str = (const char *) &es->s[start_idx + 2];
unsigned long int tmp_ulong;
char *d_end;
int base = 10;