warning: left shift count >= width of type problem

From: William Jeanveau (webremedies@home.com)
Date: 01/27/01


 (fight.c)
         a = number(0, 18);
          if(chance == 3) {
          switch(a)
          {
          ...etc.
          case 2:
          if(!AFF_FLAGGED(victim, AFF_LOST_L_FINGER))
          avail = 2;
          break;
(of course I have case statements all the way down pertaining to
different areas, but I keep getting the below errors when compiling,
anyone know what may be up? )

fight.c: In function `damage':
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

Thanks in advance,
   William Jeanveau

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