Re: Problem after adding new levels

From: Peter Ajamian (pajamian@cheapsam.com)
Date: 12/26/99


Magnus Jardstam wrote:
>
> Uhmmm... byte ranges from -128 to 127. unsigned byte (declared ubyte in
> circle) ranges from 0 to 256. I tested with ubyte on levels once and got
> that error. So I changed it to short int and it worked.

Actually the signedness of byte is implementation defined.  This means
that you should not rely on byte's being signed or unsigned based on
what your compiler does, it may not be portable.

Regards, Peter


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