diff options
| author | Paul Eggert <eggert@cs.ucla.edu> | 2016-08-02 16:16:23 -0400 |
|---|---|---|
| committer | Paul Eggert <eggert@cs.ucla.edu> | 2016-08-02 16:16:45 -0400 |
| commit | 0100805af1e0ed65a07fa0630788d545c304755b (patch) | |
| tree | 3cd634bf1e9e47b1f399d4aeb1c3762c3a5c86a9 /src | |
| parent | 9d5cd450564a841c9146e3453f92b2fe0b001067 (diff) | |
| download | emacs-0100805af1e0ed65a07fa0630788d545c304755b.tar.gz | |
Port regex changes to strict ISO C
* src/regex.c (regex_compile): Redo casts.
Diffstat (limited to 'src')
| -rw-r--r-- | src/regex.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 |
