From: peuha AT cc DOT helsinki DOT fi (Esa A E Peuha) Newsgroups: comp.os.msdos.djgpp Subject: Re: quick malloc question Date: 5 Mar 1997 07:49:44 GMT Organization: University of Helsinki Lines: 18 Message-ID: <5fj8io$mok@oravannahka.Helsinki.FI> References: <19970303 DOT 220414 DOT 8255 DOT 0 DOT chambersb AT juno DOT com> Reply-To: Esa DOT Peuha AT helsinki DOT fi NNTP-Posting-Host: kruuna-ether.helsinki.fi Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Benjamin D Chambers (chambersb AT juno DOT com) wrote: : It is my understanding that gcc complains when you do so. In fact, I : believe gcc complains when _anything_ is converted without a cast : (although I don't have time to verify - if anyone knows the answer, : please let me know if I'm wrong). Nope. Try this: int a; char b; a = b; If you can find a C compiler which complains about that, let me know! ;-) -- Esa Peuha student of mathematics at the University of Helsinki http://www.helsinki.fi/~peuha/