Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.1 6/24/83; site brl-vgr.ARPA
Path: utzoo!watmath!clyde!burl!ulysses!mhuxl!eagle!harpo!seismo!brl-vgr!gwyn
From: gwyn@brl-vgr.ARPA (Doug Gwyn )
Newsgroups: net.lang.c
Subject: Re: Is #define NULL 0L ok?
Message-ID: <2393@brl-vgr.ARPA>
Date: Mon, 12-Mar-84 01:31:50 EST
Article-I.D.: brl-vgr.2393
Posted: Mon Mar 12 01:31:50 1984
Date-Received: Mon, 12-Mar-84 07:23:46 EST
References: <4072@edai.UUCP>
Organization: Ballistics Research Lab
Lines: 9

NO NO NO

You MUST cast the 0 to the proper pointer type when passing it as an
actual argument to a function:

	foo( (char *)0 );

for example.  There is no other way of guaranteeing that the function
gets a pointer of the proper type.