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
1a020117
Commit
1a020117
authored
Oct 01, 1994
by
Richard M. Stallman
Browse files
(compile_range): When casting to const unsigned char *, put const first.
parent
fc357930
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 @
1a020117
...
...
@@ -2703,8 +2703,8 @@ compile_range (p_ptr, pend, translate, syntax, b)
We also want to fetch the endpoints without translating them; the
appropriate translation is done in the bit-setting loop below. */
range_start
=
((
unsigned
const
char
*
)
p
)[
-
2
];
range_end
=
((
unsigned
const
char
*
)
p
)[
0
];
range_start
=
((
const
unsigned
char
*
)
p
)[
-
2
];
range_end
=
((
const
unsigned
char
*
)
p
)[
0
];
/* Have to increment the pointer into the pattern string, so the
caller isn't still at the ending character. */
...
...
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