Mail Archives: djgpp/1997/02/26/06:58:31
>----------
>From: Schuster[SMTP:Schuster AT eev DOT e-technik DOT uni-erlangen DOT de]
>Sent: 26 February 1997 17:22
>To: djgpp AT delorie DOT com
>Subject: allegro 2.2 's textout function
Michi,
I have not seen the new code, but it seems that he has changed the
textout function
to take only positive values, he must have updated this for a reason so
you'd be better
off changing your code to suit the new.
There are 2 ways that you could do this.
1) Search and replace, changing your char * types to unsigned char *
types where necessary.
2) Cast the offending variables to unsigned char *,
I am not trying to insult you, but as a point of reference you cast a
varibale thus:
{
char *message;
...
...
some_function( (unsigned char *)message );
etc...
}
I hope that this is of help
Rob Humphris
>
>
- Raw text -