Message-ID: <3E64CE69.C47443E1@yahoo.com> From: CBFalconer Organization: Ched Research X-Mailer: Mozilla 4.75 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Subject: Re: Vesa 2.0 References: <17326N022 AT web2news DOT com> <17482N497 AT web2news DOT com> <17488N404 AT web2news DOT com> <3E6454E3 DOT D29B507C AT yahoo DOT com> <17545N461 AT web2news DOT com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 18 Date: Tue, 04 Mar 2003 16:38:49 GMT NNTP-Posting-Host: 12.90.175.30 X-Complaints-To: abuse AT worldnet DOT att DOT net X-Trace: bgtnsc05-news.ops.worldnet.att.net 1046795929 12.90.175.30 (Tue, 04 Mar 2003 16:38:49 GMT) NNTP-Posting-Date: Tue, 04 Mar 2003 16:38:49 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Joel_S wrote: > > Problem solved, I simply changed > vesa_pm_info = malloc(r.x.cx); > to > vesa_pm_info = ( VESA_PM_INFO *)malloc(r.x.cx); That is NOT a cure. It indicates that either you were using a C++ compiler on C source, or that you failed to #include . In either case it is a mistake. Casts are usually indications of more serious errors. -- Chuck F (cbfalconer AT yahoo DOT com) (cbfalconer AT worldnet DOT att DOT net) Available for consulting/temporary embedded and systems. USE worldnet address!