Restore cast hack for GCC's "new qualifiers in middle of multi-level

non-const cast" warning.
This commit is contained in:
joerg 2014-01-05 20:38:55 +00:00
parent 66153a214b
commit 6602d8c908

View File

@ -646,7 +646,7 @@ roff_parsetext(char **bufp, size_t *szp, int pos, int *offs)
if ('\\' == *p) {
/* Skip over escapes. */
p++;
esc = mandoc_escape((const char **)&p, NULL, NULL);
esc = mandoc_escape((const char **)(void *)&p, NULL, NULL);
if (ESCAPE_ERROR == esc)
break;
continue;