Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/bsd/mdocml/dist fix wrong cast.
details: https://anonhg.NetBSD.org/src/rev/92e0b363aca4
branches: trunk
changeset: 770321:92e0b363aca4
user: christos <christos%NetBSD.org@localhost>
date: Wed Oct 12 13:44:33 2011 +0000
description:
fix wrong cast.
diffstat:
external/bsd/mdocml/dist/roff.c | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diffs (14 lines):
diff -r c0476c67e126 -r 92e0b363aca4 external/bsd/mdocml/dist/roff.c
--- a/external/bsd/mdocml/dist/roff.c Wed Oct 12 10:33:14 2011 +0000
+++ b/external/bsd/mdocml/dist/roff.c Wed Oct 12 13:44:33 2011 +0000
@@ -571,9 +571,7 @@
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;
Home |
Main Index |
Thread Index |
Old Index