diff --git a/usr.bin/vi/ex/ex_append.c b/usr.bin/vi/ex/ex_append.c index fec6bb1caa06..abfd7c7882e3 100644 --- a/usr.bin/vi/ex/ex_append.c +++ b/usr.bin/vi/ex/ex_append.c @@ -1,4 +1,4 @@ -/* $NetBSD: ex_append.c,v 1.9 2002/04/09 01:47:32 thorpej Exp $ */ +/* $NetBSD: ex_append.c,v 1.10 2002/12/06 03:24:42 thorpej Exp $ */ /*- * Copyright (c) 1992, 1993, 1994 @@ -268,7 +268,7 @@ ex_aci(sp, cmdp, cmd) return (1); for (cnt = 0, tp = tiq.cqh_first; - tp != (TEXT *)&tiq; ++cnt, tp = tp->q.cqe_next) + tp != (void *)&tiq; ++cnt, tp = tp->q.cqe_next) if (db_append(sp, 1, lno++, tp->lb, tp->len)) return (1); diff --git a/usr.bin/vi/vi/v_ulcase.c b/usr.bin/vi/vi/v_ulcase.c index 10e190e4e2b4..2a2efe485ece 100644 --- a/usr.bin/vi/vi/v_ulcase.c +++ b/usr.bin/vi/vi/v_ulcase.c @@ -1,4 +1,4 @@ -/* $NetBSD: v_ulcase.c,v 1.9 2002/04/09 01:47:36 thorpej Exp $ */ +/* $NetBSD: v_ulcase.c,v 1.10 2002/12/06 03:25:45 thorpej Exp $ */ /*- * Copyright (c) 1992, 1993, 1994 @@ -16,7 +16,7 @@ #if 0 static const char sccsid[] = "@(#)v_ulcase.c 10.7 (Berkeley) 3/6/96"; #else -__RCSID("$NetBSD: v_ulcase.c,v 1.9 2002/04/09 01:47:36 thorpej Exp $"); +__RCSID("$NetBSD: v_ulcase.c,v 1.10 2002/12/06 03:25:45 thorpej Exp $"); #endif #endif /* not lint */ @@ -123,7 +123,7 @@ v_mulcase(sp, vp) recno_t lno; for (lno = vp->m_start.lno;;) { - if (db_get(sp, lno, DBG_FATAL, (char **) &p, &len)) + if (db_get(sp, lno, DBG_FATAL, (void *) &p, &len)) return (1); if (len != 0 && ulcase(sp, lno, p, len, lno == vp->m_start.lno ? vp->m_start.cno : 0,