Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
0100805a
Commit
0100805a
authored
Aug 02, 2016
by
Paul Eggert
Browse files
Port regex changes to strict ISO C
* src/regex.c (regex_compile): Redo casts.
parent
9d5cd450
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/regex.c
src/regex.c
+2
-2
No files found.
src/regex.c
View file @
0100805a
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment