Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!cs.utexas.edu!husc6!paperboy!pmax7!lehotsky From: lehotsky@pmax7.osf.org (Alan Lehotsky) Newsgroups: comp.sys.mac.programmer Subject: Re: malloc in LSC Message-ID: <24@paperboy.OSF.ORG> Date: 19 Jul 89 17:22:07 GMT References: <73300002@m.cs.uiuc.edu> Sender: news@OSF.ORG Reply-To: lehotsky@pmax7.osf.org (Alan Lehotsky) Organization: Open Software Foundation Lines: 10 Regarding malloc returning suspicious addresses.... I'm not a betting man, but I'd wager $0.50 (try and collect) that you're calling malloc without having a proper prototype for malloc declared. It's been a while since I have used LSC and done Mac programming, but without the prototype, you're looking at register D0, not at register A0 - which is where pointers are are returned.