From: Jim Meyering Date: Thu, 29 Jun 2000 11:15:52 +0000 (+0000) Subject: (find_bracketed_repeat): Add a cast to suppress a warning. X-Git-Tag: FILEUTILS-4_0w~25 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=81d46d192ad407a29c1fb6a24285c19b3fad39e7;p=thirdparty%2Fcoreutils.git (find_bracketed_repeat): Add a cast to suppress a warning. --- diff --git a/src/tr.c b/src/tr.c index 7bf050ba9e..bf9aece0a2 100644 --- a/src/tr.c +++ b/src/tr.c @@ -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;