From owner-freebsd-arch Tue Aug 20 17: 0: 7 2002 Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 77C1C37B400 for ; Tue, 20 Aug 2002 17:00:04 -0700 (PDT) Received: from InterJet.dellroad.org (adsl-63-194-81-26.dsl.snfc21.pacbell.net [63.194.81.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id BC1CD43E7B for ; Tue, 20 Aug 2002 17:00:03 -0700 (PDT) (envelope-from archie@dellroad.org) Received: from arch20m.dellroad.org (arch20m.dellroad.org [10.1.1.20]) by InterJet.dellroad.org (8.9.1a/8.9.1) with ESMTP id QAA87638 for ; Tue, 20 Aug 2002 16:45:34 -0700 (PDT) Received: (from archie@localhost) by arch20m.dellroad.org (8.11.6/8.11.6) id g7KNioV03523 for freebsd-arch@freebsd.org; Tue, 20 Aug 2002 16:44:50 -0700 (PDT) (envelope-from archie) From: Archie Cobbs Message-Id: <200208202344.g7KNioV03523@arch20m.dellroad.org> Subject: NULL To: freebsd-arch@freebsd.org Date: Tue, 20 Aug 2002 16:44:50 -0700 (PDT) X-Mailer: ELM [version 2.4ME+ PL88 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Simple question... Why isn't NULL defined to be "((void *)0)" instead of "0" ? You get more useful warnings from 'cc -Wall' with "((void *)0)". -Archie __________________________________________________________________________ Archie Cobbs * Packet Design * http://www.packetdesign.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message