Re: warning: left shift count >= width of type problem

From: Alex (fletchra@qsilver.queensu.ca)
Date: 01/27/01


> fight.c:909: warning: left shift count >= width of type
> fight.c:913: warning: left shift count >= width of type
> fight.c:917: warning: left shift count >= width of type
> fight.c:921: warning: left shift count >= width of type
Your AFF_ size is too big.  You can only have 32 of them with a 32bit
integer.  ie, '(1 << 32)' and higher won't work.  You need another
place to keep track of the higher numbers.

And as a side note, this kind of thing is hidden in the archives
somewhere.  *grin*

Ae.

--
   +---------------------------------------------------------------+
   | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
   | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
   +---------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/03/01 PST