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

From: Brian Pape (bpape@ezl.com)
Date: 05/10/96


> act.offensive.c:687: warning: left shift count >= width of type
>
> I've defined the flag as:
> #define AFF_F_ATTACK	      (1 << 35)

long int's are only 32 bits wide...  You can't shift one by 35 bits.

Brian Pape
bpape@ezl.com



This archive was generated by hypermail 2b30 : 12/18/00 PST