From: "Joel_S" Newsgroups: comp.os.msdos.djgpp Subject: Re: Vesa 2.0 Date: Tue, 04 Mar 2003 16:47:00 +0100 Organization: Web2news.com Message-ID: <17591N820@web2news.com> References: <17326N022 AT web2news DOT com> <17482N497 AT web2news DOT com> <17488N404 AT web2news DOT com> <17546N511 AT web2news DOT com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit NNTP-Posting-Host: 198.81.26.238 X-Complaints-To: abuse AT web2news DOT net Lines: 17 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com > "Joel_S" wrote in > news:17546N511 > @web2news.com: > >> 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 solution. you are definitely compiling the > file as C++ not C. > do learn the difference. For the last time, the file has a .c extention, the c is lower case. I don't know how else to compile it as a C file. -- Direct access to this group with http://web2news.com http://web2news.com/?comp.os.msdos.djgpp