projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d5cd45
)
Port regex changes to strict ISO C
author
Paul Eggert
<eggert@cs.ucla.edu>
Tue, 2 Aug 2016 20:16:23 +0000
(16:16 -0400)
committer
Paul Eggert
<eggert@cs.ucla.edu>
Tue, 2 Aug 2016 20:16:45 +0000
(16:16 -0400)
* src/regex.c (regex_compile): Redo casts.
src/regex.c
patch
|
blob
|
history
diff --git
a/src/regex.c
b/src/regex.c
index f7ca51184b3faab77e8df32b55d386f28b1db70c..f0129241cfe206595e8e2ee7eda56569de5eb6ee 100644
(file)
--- 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_regex
p);
break;
}
#endif