Module Name:    src
Committed By:   joerg
Date:           Sun Jan  5 20:38:55 UTC 2014

Modified Files:
        src/external/bsd/mdocml/dist: roff.c

Log Message:
Restore cast hack for GCC's "new qualifiers in middle of multi-level
non-const cast" warning.


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/external/bsd/mdocml/dist/roff.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/bsd/mdocml/dist/roff.c
diff -u src/external/bsd/mdocml/dist/roff.c:1.15 src/external/bsd/mdocml/dist/roff.c:1.16
--- src/external/bsd/mdocml/dist/roff.c:1.15	Sun Jan  5 19:27:20 2014
+++ src/external/bsd/mdocml/dist/roff.c	Sun Jan  5 20:38:55 2014
@@ -646,7 +646,7 @@ roff_parsetext(char **bufp, size_t *szp,
 		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;

Reply via email to