summaryrefslogtreecommitdiffstats
path: root/hack/hack.engrave.c
diff options
context:
space:
mode:
authordholland <dholland@NetBSD.org>2011-08-06 20:42:43 +0000
committerdholland <dholland@NetBSD.org>2011-08-06 20:42:43 +0000
commit18451d9c4ce377951796a0ac6188ca7b1bf34335 (patch)
tree00559b038f5c1f5101bdf9fecb6c54f64f5fbd0e /hack/hack.engrave.c
parentc01c2acdb28beaea904ac85b7433c7c1a5c30e99 (diff)
downloadbsdgames-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.engrave.c')
-rw-r--r--hack/hack.engrave.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/hack/hack.engrave.c b/hack/hack.engrave.c
index 2e00b882..2f7d3a2a 100644
--- a/hack/hack.engrave.c
+++ b/hack/hack.engrave.c
@@ -1,4 +1,4 @@
-/* $NetBSD: hack.engrave.c,v 1.12 2011/08/06 20:29:37 dholland Exp $ */
+/* $NetBSD: hack.engrave.c,v 1.13 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.engrave.c,v 1.12 2011/08/06 20:29:37 dholland Exp $");
+__RCSID("$NetBSD: hack.engrave.c,v 1.13 2011/08/06 20:42:43 dholland Exp $");
#endif /* not lint */
#include <stdlib.h>
@@ -230,7 +230,7 @@ doengrave(void)
if (uwep && uwep->cursed) {
/* Andreas Bormann */
pline("Since your weapon is welded to your hand,");
- pline("you use the %s.", aobjnam(uwep, (char *) 0));
+ pline("you use the %s.", aobjnam(uwep, NULL));
otmp = uwep;
} else {
if (!otmp)