From 18451d9c4ce377951796a0ac6188ca7b1bf34335 Mon Sep 17 00:00:00 2001 From: dholland Date: Sat, 6 Aug 2011 20:42:43 +0000 Subject: Fix up still more casts; use NULL instead of (char *)0. --- hack/hack.tty.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'hack/hack.tty.c') diff --git a/hack/hack.tty.c b/hack/hack.tty.c index 474afab5..9c9bcefd 100644 --- a/hack/hack.tty.c +++ b/hack/hack.tty.c @@ -1,4 +1,4 @@ -/* $NetBSD: hack.tty.c,v 1.15 2010/02/03 15:34:39 roy Exp $ */ +/* $NetBSD: hack.tty.c,v 1.16 2011/08/06 20:42:43 dholland Exp $ */ /*- * Copyright (c) 1988, 1993 @@ -34,7 +34,7 @@ #if 0 static char sccsid[] = "@(#)hack.tty.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: hack.tty.c,v 1.15 2010/02/03 15:34:39 roy Exp $"); +__RCSID("$NetBSD: hack.tty.c,v 1.16 2011/08/06 20:42:43 dholland Exp $"); #endif #endif /* not lint */ @@ -206,7 +206,7 @@ error(const char *fmt, ...) va_start(ap, fmt); if (settty_needed) - settty((char *) 0); + settty(NULL); vprintf(fmt, ap); va_end(ap); putchar('\n'); -- cgit v1.2.3