From 54d758cb4f91850365584775a8a4a3ad42f135d4 Mon Sep 17 00:00:00 2001 From: dholland Date: Sun, 24 Feb 2008 05:53:33 +0000 Subject: Don't cast the return value of calloc. --- monop/prop.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'monop/prop.c') diff --git a/monop/prop.c b/monop/prop.c index fcf2cd65..3e3d4677 100644 --- a/monop/prop.c +++ b/monop/prop.c @@ -1,4 +1,4 @@ -/* $NetBSD: prop.c,v 1.18 2008/02/24 03:56:49 christos Exp $ */ +/* $NetBSD: prop.c,v 1.19 2008/02/24 05:53:33 dholland Exp $ */ /* * Copyright (c) 1980, 1993 @@ -34,7 +34,7 @@ #if 0 static char sccsid[] = "@(#)prop.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: prop.c,v 1.18 2008/02/24 03:56:49 christos Exp $"); +__RCSID("$NetBSD: prop.c,v 1.19 2008/02/24 05:53:33 dholland Exp $"); #endif #endif /* not lint */ @@ -71,7 +71,7 @@ add_list(plr, head, op_sqr) OWN *tp, *last_tp; OWN *op; - op = (OWN *)calloc(1, sizeof (OWN)); + op = calloc(1, sizeof (OWN)); if (op == NULL) errx(1, "out of memory"); op->sqr = &board[op_sqr]; -- cgit v1.2.3-56-ge451