From: Hartmut Schirmer Newsgroups: comp.os.msdos.djgpp Subject: Re: Blitting warning under GRX 2.0 using GrBitBlt Date: Mon, 20 Jan 1997 09:17:44 +0100 Organization: Technische Fakultaet, University of Kiel, Germany Lines: 14 Message-ID: <32E32A28.3151@techfak.uni-kiel.de> References: <5brjua$q1q AT news DOT interlog DOT com> NNTP-Posting-Host: zora.techfak.uni-kiel.de Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Gautam N. Lad wrote: > memory[i] = malloc(planesze); malloc returns void *, memory[i] is char *, use memory[i] = (char *) malloc(planesze); with C++ ! Hartmut -- Hartmut Schirmer | Phone: +49-431-77572-709 FAX:-703 Automatisierungs- & Regelungstech. | hsc AT techfak DOT uni-kiel DOT de Technische Fakult"at, | http://www.techfak.uni-kiel.de/~hsc Kaiserstr. 2, 24143 Kiel, Germany | PGP key via WWW, Key ID:6D84AEC1