Mail Archives: djgpp/1998/04/24/09:31:37
From: | Tron <l42794 AT alfa DOT ist DOT utl DOT pt>
|
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: | <Pine.OSF.3.96.980424140346.13822C-100000@alfa.ist.utl.pt>
|
References: | <6home3$a6b$1 AT unlisys DOT unlisys DOT net>
|
NNTP-Posting-Host: | alfa.ist.utl.pt
|
Mime-Version: | 1.0
|
In-Reply-To: | <6home3$a6b$1@unlisys.unlisys.net>
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
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.
- Raw text -