From: Paul Eggert Date: Tue, 2 Aug 2016 20:16:23 +0000 (-0400) Subject: Port regex changes to strict ISO C X-Git-Tag: emacs-26.0.90~1816 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0100805af1e0ed65a07fa0630788d545c304755b;p=emacs.git Port regex changes to strict ISO C * src/regex.c (regex_compile): Redo casts. --- diff --git a/src/regex.c b/src/regex.c index f7ca51184b3..f0129241cfe 100644 --- a/src/regex.c +++ b/src/regex.c @@ -2618,8 +2618,8 @@ regex_compile (const_re_char *pattern, size_t size, main_p = p1; main_pend = pend; main_pattern = pattern; - p = pattern = whitespace_regexp; - pend = p + strlen ((const char *) p); + p = pattern = (re_char *) whitespace_regexp; + pend = p + strlen (whitespace_regexp); break; } #endif