diff options
author | Philip Guenther <guenther@cvs.openbsd.org> | 2014-03-11 08:05:16 +0000 |
---|---|---|
committer | Philip Guenther <guenther@cvs.openbsd.org> | 2014-03-11 08:05:16 +0000 |
commit | 3145208f57e40fe37fd3b241e2181882151661d6 (patch) | |
tree | d0aa8a2ee934e1ebcfb65a1e19ad2e0f66dfd7c8 /games/hack/hack.read.c | |
parent | a1f4645b836500f68be0e58e76c610eb458db9d0 (diff) |
Match bwrite()'s prototype with write()'s, zapping a lint comment
Delete casts to char* of arguments to bwrite() and free()
Diffstat (limited to 'games/hack/hack.read.c')
-rw-r--r-- | games/hack/hack.read.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/games/hack/hack.read.c b/games/hack/hack.read.c index a4ac8bc6cb6..bdda6e31a70 100644 --- a/games/hack/hack.read.c +++ b/games/hack/hack.read.c @@ -1,4 +1,4 @@ -/* $OpenBSD: hack.read.c,v 1.7 2009/10/27 23:59:25 deraadt Exp $ */ +/* $OpenBSD: hack.read.c,v 1.8 2014/03/11 08:05:15 guenther Exp $ */ /* * Copyright (c) 1985, Stichting Centrum voor Wiskunde en Informatica, @@ -192,7 +192,7 @@ doread() Punished = 0; freeobj(uchain); unpobj(uchain); - free((char *) uchain); + free(uchain); uball->spe = 0; uball->owornmask &= ~W_BALL; uchain = uball = (struct obj *) 0; |