delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/01/29/19:18:28

Message-Id: <199801300018.NAA24254@cirrostratus.netaccess.co.nz>
Comments: Authenticated sender is <chapmic5 AT pop3 DOT netaccess DOT co DOT nz>
From: "Richard Chappell" <chapmic5 AT cirrostratus DOT netaccess DOT co DOT nz>
To: djgpp AT delorie DOT com
Date: Fri, 30 Jan 1998 12:11:23 +0000
MIME-Version: 1.0
Subject: Allegro Bitmap Warnings
Reply-to: Pixnaps AT netaccess DOT co DOT nz

Why is that, using Allegro, I get a warning for the line:

bmp=load_bmp("bmp/welcome.bmp",pal);

Whats wrong with it?
The warning is something like "converting int to pointer without a 
cast" or it might be the other way round (pointer to int), but it's 
SOMETHING like that, anyway.

I use bitmaps lots in my game, so I end up getting a whole lot of 
warnings ( 1 for each time I load a bitmap, eg the above line of 
code).

Thanx in advance,
Richard

- Raw text -


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