delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/07/18/06:40:24

Date: Sun, 18 Jul 1999 13:36:34 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Mark <rhosts AT bigfoot DOT com>, djgpp AT delorie DOT com
Subject: Re: still got double buffering prob. in 13h mode.
In-Reply-To: <Pine.SUN.3.91.990718114210.19517Y-100000@is>
Message-ID: <Pine.SUN.3.91.990718133539.27073C-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Sun, 18 Jul 1999, I wrote:

> > 48:warning: passing arg 2 of 'movedata' makes integer from pointer without
> > a cast.
> 
> You need to use an explicit cast, like this:
> 
>     movedata(_my_ds(), (unsigned long)double_buffer, screen, 0, 320*200);

Note that the library documentation for movedata includes an example that 
uses the cast like this.

- Raw text -


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