Re: Oasis 1.5, anyone else see this?

From: Angus Mezick (angus@EDGIL.CCMAIL.COMPUSERVE.COM)
Date: 11/07/97

DOH! i changed it to sbyte and it was happy, seems that the system defaulted to
unsigned char. (SGI Indy, IRIX 6.3)  is this standard behavior, or just wierd

______________________________ Forward Header __________________________________
Subject: Re:  Oasis 1.5, anyone else see this?
Author: at CSERVE
Date:    11/7/97 12:54 PM

>nope. checked that, it is a byte.  (defined as byte in all the functions so I
>set it to that from char in structs.h) (yup, i know typedef byte char)

Daniel brought up the unsigned also.  Your 'char' must default to unsigned.
1) Use -fsigned-char
2) Change the data type to 'signed byte'
3) Just remove the check. :)

     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | |

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