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.o_init.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'hack/hack.o_init.c') diff --git a/hack/hack.o_init.c b/hack/hack.o_init.c index 47284544..9ca796e2 100644 --- a/hack/hack.o_init.c +++ b/hack/hack.o_init.c @@ -1,4 +1,4 @@ -/* $NetBSD: hack.o_init.c,v 1.13 2011/08/06 20:32:25 dholland Exp $ */ +/* $NetBSD: hack.o_init.c,v 1.14 2011/08/06 20:42:43 dholland Exp $ */ /* * Copyright (c) 1985, Stichting Centrum voor Wiskunde en Informatica, @@ -63,7 +63,7 @@ #include #ifndef lint -__RCSID("$NetBSD: hack.o_init.c,v 1.13 2011/08/06 20:32:25 dholland Exp $"); +__RCSID("$NetBSD: hack.o_init.c,v 1.14 2011/08/06 20:42:43 dholland Exp $"); #endif /* not lint */ #include @@ -228,9 +228,9 @@ dodiscovered(void) } if (ct == 0) { pline("You haven't discovered anything yet..."); - cornline(3, (char *) 0); + cornline(3, NULL); } else - cornline(2, (char *) 0); + cornline(2, NULL); return (0); } -- cgit v1.2.3