diff options
author | dholland <dholland@NetBSD.org> | 2011-08-06 20:29:37 +0000 |
---|---|---|
committer | dholland <dholland@NetBSD.org> | 2011-08-06 20:29:37 +0000 |
commit | 1ccd85363abc2600565c4e1acfcefd0628997538 (patch) | |
tree | df1453129a42f7ee08bfeb3e303d2215f16e6c4a /hack/hack.worm.c | |
parent | 10b5de29f245af86f4a46e1633e1902332b2ad06 (diff) | |
download | bsdgames-darwin-1ccd85363abc2600565c4e1acfcefd0628997538.tar.gz bsdgames-darwin-1ccd85363abc2600565c4e1acfcefd0628997538.tar.zst bsdgames-darwin-1ccd85363abc2600565c4e1acfcefd0628997538.zip |
Remove more silly casts.
Diffstat (limited to 'hack/hack.worm.c')
-rw-r--r-- | hack/hack.worm.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/hack/hack.worm.c b/hack/hack.worm.c index 2a606be1..54feb622 100644 --- a/hack/hack.worm.c +++ b/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 */ |