Re: quick question..

From: George (greerga@CIRCLEMUD.ORG)
Date: 12/13/97


On Fri, 12 Dec 1997, Blue Lang wrote:

>   (isname(tmp, pc_race_types[GET_RACE(i)])) || \

>handler.c:949: warning: array subscript has type `char'

You've defined the GET_RACE variable as a 'char' (or byte which is an alias
to char) and when used in the array the compiler gives that warning to make
sure\ you wanted to do that.  Put (int)GET_RACE(i) to avoid it.

--
George Greer  -  Me@Null.net   | Genius may have its limitations, but stupidity
http://www.van.ml.org/~greerga | is not thus handicapped. -- Elbert Hubbard


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