delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/01/20/06:32:03

From: Hartmut Schirmer <hsc AT techfak DOT uni-kiel DOT de>
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
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019