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) --Angus ______________________________ Forward Header __________________________________ Subject: Re: Oasis 1.5, anyone else see this? Author: INTERNET:CIRCLE@post.queensu.ca at CSERVE Date: 11/7/97 10:42 AM > gcc -c -g -Wall -Wshadow -Wnested-externs comm.c > comm.c: In function `init_game': > comm.c:303: warning: comparison is always 0 due to limited range of > data type > 303> if (entry->type < 0 || entry->type > 4) Do you have entry->type defined as boolean perhaps? (shouldn't be) +------------------------------------------------------------+ | Ensure that you have read the CircleMUD Mailing List FAQ: | | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html | +------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/08/00 PST