Really fix the parsing of the event type field

- Typo: use the bitwise operator and not the comparison operator
Merge pull request #29 from santigimeno/fix_parsing_event_type_field

Really fix the parsing of the event type field