diff options
Diffstat (limited to 'games/worm/worm.c')
-rw-r--r-- | games/worm/worm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/games/worm/worm.c b/games/worm/worm.c index fa9f22fd807..15861f3e42c 100644 --- a/games/worm/worm.c +++ b/games/worm/worm.c @@ -1,4 +1,4 @@ -/* $OpenBSD: worm.c,v 1.29 2015/08/21 02:42:26 deraadt Exp $ */ +/* $OpenBSD: worm.c,v 1.30 2015/08/22 14:47:41 deraadt Exp $ */ /* * Copyright (c) 1980, 1993 @@ -359,7 +359,7 @@ newlink(void) { struct body *tmp; - if ((tmp = (struct body *) malloc(sizeof (struct body))) == NULL) { + if ((tmp = malloc(sizeof (struct body))) == NULL) { endwin(); errx(1, "out of memory"); } |