summaryrefslogtreecommitdiff
path: root/games/hack/hack.worm.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
commit1ebb45762504a7fcdcea567a207bb9ca0a5e38cd (patch)
treecacfb3e096b17d7a8f20363345a01556fec9cf68 /games/hack/hack.worm.c
parent5d1fd2e09d151c55e53faca4a2b31349443283a5 (diff)
Remove more silly casts.
Diffstat (limited to 'games/hack/hack.worm.c')
-rw-r--r--games/hack/hack.worm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/games/hack/hack.worm.c b/games/hack/hack.worm.c
index 2a606be1345..54feb6220d2 100644
--- a/games/hack/hack.worm.c
+++ b/games/hack/hack.worm.c
@@ -1,4 +1,4 @@
-/* $NetBSD: hack.worm.c,v 1.8 2009/08/12 07:28:41 dholland Exp $ */
+/* $NetBSD: hack.worm.c,v 1.9 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.worm.c,v 1.8 2009/08/12 07:28:41 dholland Exp $");
+__RCSID("$NetBSD: hack.worm.c,v 1.9 2011/08/06 20:29:37 dholland Exp $");
#endif /* not lint */
#include <stdlib.h>
@@ -279,6 +279,6 @@ remseg(struct wseg *wtmp)
{
if (wtmp->wdispl)
newsym(wtmp->wx, wtmp->wy);
- free((char *) wtmp);
+ free(wtmp);
}
#endif /* NOWORM */