summaryrefslogtreecommitdiffstats
path: root/hack/hack.do_name.c
diff options
context:
space:
mode:
authordholland <dholland@NetBSD.org>2011-08-06 20:29:37 +0000
committerdholland <dholland@NetBSD.org>2011-08-06 20:29:37 +0000
commit1ccd85363abc2600565c4e1acfcefd0628997538 (patch)
treedf1453129a42f7ee08bfeb3e303d2215f16e6c4a /hack/hack.do_name.c
parent10b5de29f245af86f4a46e1633e1902332b2ad06 (diff)
downloadbsdgames-darwin-1ccd85363abc2600565c4e1acfcefd0628997538.tar.gz
bsdgames-darwin-1ccd85363abc2600565c4e1acfcefd0628997538.tar.zst
bsdgames-darwin-1ccd85363abc2600565c4e1acfcefd0628997538.zip
Remove more silly casts.
Diffstat (limited to 'hack/hack.do_name.c')
-rw-r--r--hack/hack.do_name.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/hack/hack.do_name.c b/hack/hack.do_name.c
index 31ca88e5..9cf5e40b 100644
--- a/hack/hack.do_name.c
+++ b/hack/hack.do_name.c
@@ -1,4 +1,4 @@
-/* $NetBSD: hack.do_name.c,v 1.11 2009/08/12 07:28:40 dholland Exp $ */
+/* $NetBSD: hack.do_name.c,v 1.12 2011/08/06 20:29:37 dholland Exp $ */
/*
* Copyright (c) 1985, Stichting Centrum voor Wiskunde en Informatica,
@@ -63,7 +63,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: hack.do_name.c,v 1.11 2009/08/12 07:28:40 dholland Exp $");
+__RCSID("$NetBSD: hack.do_name.c,v 1.12 2011/08/06 20:29:37 dholland Exp $");
#endif /* not lint */
#include <stdlib.h>
@@ -211,7 +211,7 @@ do_oname(struct obj *obj)
#if 0
obfree(obj, otmp2); /* now unnecessary: no pointers on bill */
#endif
- free((char *) obj); /* let us hope nobody else saved a pointer */
+ free(obj); /* let us hope nobody else saved a pointer */
}
int