Message-ID: <34D156E8.EE4F80E6@csun.edu> Date: Thu, 29 Jan 1998 20:28:24 -0800 From: Ryan Bright MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Subject: Re: Allegro Bitmap Warnings References: <199801300018 DOT NAA24254 AT cirrostratus DOT netaccess DOT co DOT nz> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: s253n110.csun.edu Organization: California State University, Northridge Lines: 19 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Richard Chappell wrote: > > Why is that, using Allegro, I get a warning for the line: > > bmp=load_bmp("bmp/welcome.bmp",pal); > "BITMAP *load_bmp(char *filename, RGB *pal);" Therefore, bmp MUST be defined as : BITMAP *bmp; and pal MUST either be defined PALETTE pal; or RGB pal[256]; -Ryan