Module Name: src Committed By: christos Date: Wed Oct 12 13:44:33 UTC 2011
Modified Files: src/external/bsd/mdocml/dist: roff.c Log Message: fix wrong cast. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 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.3 src/external/bsd/mdocml/dist/roff.c:1.4 --- src/external/bsd/mdocml/dist/roff.c:1.3 Tue Oct 11 15:12:13 2011 +++ src/external/bsd/mdocml/dist/roff.c Wed Oct 12 09:44:33 2011 @@ -571,9 +571,7 @@ roff_parsetext(char *p) if ('\\' == *p) { /* Skip over escapes. */ - p++; - esc = mandoc_escape - ((const char **)&p, NULL, NULL); + esc = mandoc_escape((void *)&p, NULL, NULL); if (ESCAPE_ERROR == esc) break; continue;