diff options
author | Adrian Chadd <adrian@FreeBSD.org> | 2020-07-14 05:00:08 +0000 |
---|---|---|
committer | Adrian Chadd <adrian@FreeBSD.org> | 2020-07-14 05:00:08 +0000 |
commit | 85c904857339abef41d2293ac99280a501626750 (patch) | |
tree | fb5c309bce20bcf6628b7d834a769cd82c1b7eee /contrib/flex | |
parent | b53bb29fed3e69c2561e93c1aee32b92ffe9117f (diff) | |
download | src-test2-85c904857339abef41d2293ac99280a501626750.tar.gz src-test2-85c904857339abef41d2293ac99280a501626750.zip |
[flex] Fix compilation issue under mips-gcc-6.4
This was triggering a pointer-losing-constness error.
Notes
Notes:
svn path=/head/; revision=363171
Diffstat (limited to 'contrib/flex')
-rw-r--r-- | contrib/flex/src/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/flex/src/main.c b/contrib/flex/src/main.c index 711e387b1b51..8c57854feb91 100644 --- a/contrib/flex/src/main.c +++ b/contrib/flex/src/main.c @@ -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; |