summaryrefslogtreecommitdiffstats
path: root/hack/hack.mon.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.mon.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.mon.c')
-rw-r--r--hack/hack.mon.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/hack/hack.mon.c b/hack/hack.mon.c
index dd56e6bb..ef80361c 100644
--- a/hack/hack.mon.c
+++ b/hack/hack.mon.c
@@ -1,4 +1,4 @@
-/* $NetBSD: hack.mon.c,v 1.12 2011/08/06 20:24:35 dholland Exp $ */
+/* $NetBSD: hack.mon.c,v 1.13 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.mon.c,v 1.12 2011/08/06 20:24:35 dholland Exp $");
+__RCSID("$NetBSD: hack.mon.c,v 1.13 2011/08/06 20:29:37 dholland Exp $");
#endif /* not lint */
#include <stdlib.h>
@@ -765,7 +765,7 @@ dmonsfree(void)
struct monst *mtmp;
while ((mtmp = fdmon) != NULL) {
fdmon = mtmp->nmon;
- free((char *) mtmp);
+ free(mtmp);
}
}