Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Oct 2002 17:08:45 +0100
From:      Tony Finch <dot@dotat.at>
To:        "Matthew N. Dodd" <mdodd@FreeBSD.org>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sbin/atm/ilmid ilmid.c
Message-ID:  <20021002170845.B21671@chiark.greenend.org.uk>
In-Reply-To: <200210020624.g926OKYd064532@freefall.freebsd.org>; from mdodd@FreeBSD.org on Tue, Oct 01, 2002 at 11:24:19PM -0700
References:  <200210020624.g926OKYd064532@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Oct 01, 2002 at 11:24:19PM -0700, Matthew N. Dodd wrote:
>
>   Cast malloc() assignments.

Style(9) says that functions returning void* should never have
their return value casted (because this is C, not C++).

Tony.
-- 
f.a.n.finch <dot@dotat.at> http://dotat.at/
SHANNON: WEST OR SOUTHWEST 5 OR 6, OCCASIONALLY 7 AT FIRST. SQUALLY SHOWERS.
MAINLY GOOD.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021002170845.B21671>