Restore cast hack for GCC's "new qualifiers in middle of multi-level
non-const cast" warning.
This commit is contained in:
parent
66153a214b
commit
6602d8c908
2
external/bsd/mdocml/dist/roff.c
vendored
2
external/bsd/mdocml/dist/roff.c
vendored
@ -646,7 +646,7 @@ roff_parsetext(char **bufp, size_t *szp, int pos, int *offs)
|
|||||||
if ('\\' == *p) {
|
if ('\\' == *p) {
|
||||||
/* Skip over escapes. */
|
/* Skip over escapes. */
|
||||||
p++;
|
p++;
|
||||||
esc = mandoc_escape((const char **)&p, NULL, NULL);
|
esc = mandoc_escape((const char **)(void *)&p, NULL, NULL);
|
||||||
if (ESCAPE_ERROR == esc)
|
if (ESCAPE_ERROR == esc)
|
||||||
break;
|
break;
|
||||||
continue;
|
continue;
|
||||||
|
Loading…
Reference in New Issue
Block a user