Re: [QUESTION] Problem with adding ascii chars...

From: Christoffer Lundberg (avatar@orion.boden.se)
Date: 02/13/99


On Sat, 13 Feb 1999, George wrote:

> On Sat, 13 Feb 1999, Christoffer Lundberg wrote:
>
> >} else if ((isascii(*ptr) && isprint(*ptr)) || (*ptr > 127)) {
> [...]
> >There must be some define where *ptr has it's limit set, but I cannot
> >find it.
>
> Think 'signed char' variable.
>
> Solution? Make it unsigned.

hmm, how?

- Christoffer -


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     |  http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html  |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/15/00 PST