fix cast warnings
This commit is contained in:
parent
91009c117a
commit
e307dc8de5
|
@ -723,7 +723,7 @@ pre_bl(PRE_ARGS)
|
|||
if (LIST_column == lt) {
|
||||
n->norm->Bl.ncols =
|
||||
n->args->argv[i].sz;
|
||||
n->norm->Bl.cols = (const char **)
|
||||
n->norm->Bl.cols = (void *)
|
||||
n->args->argv[i].value;
|
||||
}
|
||||
}
|
||||
|
@ -1537,7 +1537,7 @@ post_bl_head(POST_ARGS)
|
|||
((size_t)mdoc->last->nchild * sizeof(char *));
|
||||
|
||||
mdoc->last->norm->Bl.ncols = np->args->argv[j].sz;
|
||||
mdoc->last->norm->Bl.cols = (const char **)np->args->argv[j].value;
|
||||
mdoc->last->norm->Bl.cols = (void *)np->args->argv[j].value;
|
||||
|
||||
for (i = 0, nn = mdoc->last->child; nn; i++) {
|
||||
np->args->argv[j].value[i] = nn->string;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.2 2011/06/22 02:49:42 mrg Exp $
|
||||
# $NetBSD: Makefile,v 1.3 2011/08/17 09:30:13 christos Exp $
|
||||
|
||||
LIBISPRIVATE= yes
|
||||
|
||||
|
@ -11,8 +11,3 @@ SRCS= man.c man_hash.c man_macro.c man_validate.c \
|
|||
MAN= mandoc.3
|
||||
|
||||
.include <bsd.lib.mk>
|
||||
|
||||
# XXX
|
||||
.if ${HAVE_GCC} == 45
|
||||
COPTS.mdoc_validate.c+= -Wno-error
|
||||
.endif
|
||||
|
|
Loading…
Reference in New Issue