Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: fix bitwise op on signed int in compliant solution

...

Code Block
bgColor#ccccff
langc
enum attrib_mask
{
  POINT_BIT = (1 << 1)2,
  LINE_BIT  = (1 << 2)4
};
unsigned int mask = ((unsigned int)POINT_BIT | (unsigned int)LINE_BIT);

...