mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-30 17:23:35 +00:00
[flex] Fix compilation issue under mips-gcc-6.4
This was triggering a pointer-losing-constness error.
This commit is contained in:
parent
b53bb29fed
commit
85c9048573
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=363171
@ -342,7 +342,7 @@ void check_options (void)
|
||||
/* Setup the filter chain. */
|
||||
output_chain = filter_create_int(NULL, filter_tee_header, headerfilename);
|
||||
if ( !(m4 = getenv("M4"))) {
|
||||
char *slash;
|
||||
const char *slash;
|
||||
m4 = M4;
|
||||
if ((slash = strrchr(M4, '/')) != NULL) {
|
||||
m4 = slash+1;
|
||||
|
Loading…
Reference in New Issue
Block a user