From: ao950 AT FreeNet DOT Carleton DOT CA (Paul Derbyshire) Newsgroups: comp.os.msdos.djgpp Subject: Re: DJGPP structs Date: 5 Mar 1997 04:51:05 GMT Organization: The National Capital FreeNet Lines: 19 Message-ID: <5fiu3p$bne@freenet-news.carleton.ca> Reply-To: ao950 AT FreeNet DOT Carleton DOT CA (Paul Derbyshire) NNTP-Posting-Host: freenet3.carleton.ca To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp I have never explicitly cast a malloc pointer when assigning it. Even with my usual -Wall -Werror it never causes any complaint from gcc. Are you sure this is non-ansi? mypointer=malloc(size); Maybe what's not ansi is: *(malloc(size))=some_value; -- .*. Where feelings are concerned, answers are rarely simple [GeneDeWeese] -() < When I go to the theater, I always go straight to the "bag and mix" `*' bulk candy section...because variety is the spice of life... [me] Paul Derbyshire ao950 AT freenet DOT carleton DOT ca, http://chat.carleton.ca/~pderbysh