Problem after adding new levels

From: Brandon Phelps (brando@empyrial.com)
Date: 12/25/99


I added more levels (ie. modified class.c and structs.h) and after I changed
structs.h I got this warning when compiling:
---
gcc -g -O2 -Wall    -c act.comm.c -o act.comm.o
act.comm.c: In function `do_tell':
act.comm.c:160: warning: comparison is always 1 due to limited range of data
type
act.comm.c:162: warning: comparison is always 0 due to limited range of data
type
---
line 160 & 162 look like this:
---
  else if (GET_LEVEL(ch) < LVL_IMMORT && !(vict = get_player_vis(ch, buf,
FIND_CHAR_WORLD)))
    send_to_char(NOPERSON, ch);
  else if (GET_LEVEL(ch) >= LVL_IMMORT && !(vict = get_char_vis(ch, buf,
FIND_CHAR_WORLD)))
    send_to_char(NOPERSON, ch);
---
I get this same warning on all the lines like this

I know its just a warning but I don't like them so could somebody tell me
what could be causing this?

THanks,
Brandon

------------------------------
brando@empyrial.com
http://www.empyrial.com/brando


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