I have declared this enum in my header file:
enum wildcard {
....
....
NW_SRC = 0x111UL << 40,
....
};
When I compile it I get the following warning:
warning: left shift count >= width of type [enabled by default]
I think this is because enum type is treated as an int
by the compiler. How to I resolve this?