diff options
author | dholland <dholland@NetBSD.org> | 2011-08-06 20:42:43 +0000 |
---|---|---|
committer | dholland <dholland@NetBSD.org> | 2011-08-06 20:42:43 +0000 |
commit | 18451d9c4ce377951796a0ac6188ca7b1bf34335 (patch) | |
tree | 00559b038f5c1f5101bdf9fecb6c54f64f5fbd0e /hack/hack.eat.c | |
parent | c01c2acdb28beaea904ac85b7433c7c1a5c30e99 (diff) | |
download | bsdgames-darwin-18451d9c4ce377951796a0ac6188ca7b1bf34335.tar.gz bsdgames-darwin-18451d9c4ce377951796a0ac6188ca7b1bf34335.tar.zst bsdgames-darwin-18451d9c4ce377951796a0ac6188ca7b1bf34335.zip |
Fix up still more casts; use NULL instead of (char *)0.
Diffstat (limited to 'hack/hack.eat.c')
-rw-r--r-- | hack/hack.eat.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/hack/hack.eat.c b/hack/hack.eat.c index aca3643c..bf8703bd 100644 --- a/hack/hack.eat.c +++ b/hack/hack.eat.c @@ -1,4 +1,4 @@ -/* $NetBSD: hack.eat.c,v 1.10 2011/05/23 22:53:25 joerg Exp $ */ +/* $NetBSD: hack.eat.c,v 1.11 2011/08/06 20:42:43 dholland Exp $ */ /* * Copyright (c) 1985, Stichting Centrum voor Wiskunde en Informatica, @@ -63,7 +63,7 @@ #include <sys/cdefs.h> #ifndef lint -__RCSID("$NetBSD: hack.eat.c,v 1.10 2011/05/23 22:53:25 joerg Exp $"); +__RCSID("$NetBSD: hack.eat.c,v 1.11 2011/08/06 20:42:43 dholland Exp $"); #endif /* not lint */ #include "hack.h" @@ -212,7 +212,7 @@ gotit: goto no_opener; } pline("Using your %s you try to open the tin.", - aobjnam(uwep, (char *) 0)); + aobjnam(uwep, NULL)); } else { no_opener: pline("It is not so easy to open this tin."); |