Skip to content

TrigEFMissingET: prevent overflow in StatusFlag enum

Frank Winklmeier requested to merge fwinkl/athena:fwinkl_20220331T205409 into master

The StatusFlag enum was typed as int but the maximum value is 1<<31 which results in an overflow. Use unsigned constants and let the compiler choose the correct underlying enum type. Fixes cppcheck warning [shiftTooManyBitsSigned].

Also ignore one line that triggers a cppcheck bug.

Merge request reports