From: Tron Newsgroups: comp.os.msdos.djgpp Subject: Re: Palette-problem Date: Fri, 24 Apr 1998 14:06:29 +0100 Organization: Instituto Superior Tecnico Lines: 21 Message-ID: References: <6home3$a6b$1 AT unlisys DOT unlisys DOT net> NNTP-Posting-Host: alfa.ist.utl.pt Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII In-Reply-To: <6home3$a6b$1@unlisys.unlisys.net> To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk On Fri, 24 Apr 1998, Bengt Rosenberger wrote: > When I compile this code, gcc tells me that the argument 2 from > load_bitmap is of incompatible pointer type and the 1 argument from > set_palete, too , but they are of PALETTE-type. > What to do? try to put a & signal before the variable of PALETTE_TYPE like this: PALETTE pal; set_palette(&pal); i am not sure because right now i am not on a PC with DJGPP and allegro! ------------------------------------------- end of line.