08-06-2017, 07:25 AM
Just to be clear, you don't need to use the boolean type, but you need to form a boolean expression, e.g.
It´s all about avoiding implicit conversion as much as possible.
Code:
if ((udtEvents & (tudtKalEvents)udtSTOP_EVENT) != 0u)
{
vidStop();
}
<t></t>