Re: Goofy error

From: George (greerga@DRAGON.HAM.MUOHIO.EDU)
Date: 07/30/97


On Wed, 30 Jul 1997, Crimson Wizard wrote:

>class.c: In function `invalid_race':
>class.c:987: warning: left shift count >= width of type
>class.c:988: warning: left shift count >= width of type
>class.c:989: warning: left shift count >= width of type
>class.c:990: warning: left shift count >= width of type
>class.c:991: warning: left shift count >= width of type
>class.c:992: warning: left shift count >= width of type
>class.c:993: warning: left shift count >= width of type
>class.c:994: warning: left shift count >= width of type
>class.c:995: warning: left shift count >= width of type

You're trying (1 << 32) or more I bet, the max is (1 << 31).

--
greerga@muohio.edu me@null.net | Genius may have its limitations, but stupidity
http://www.muohio.edu/~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