www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/02/26/06:58:31

Message-ID: <c=GB%a=_%p=Indigo_Active_Vi%l=CRIANLARICH-970226114418Z-188@crianlarich.Indigo>
From: Robert Humphris <r DOT humphris AT indigo-avs DOT com>
To: "'Schuster'" <Schuster AT eev DOT e-technik DOT uni-erlangen DOT de>
Cc: "'djGpp list'" <djgpp AT delorie DOT com>
Subject: RE: allegro 2.2 's textout function
Date: Wed, 26 Feb 1997 11:44:18 -0000
MIME-Version: 1.0

>----------
>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 -


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