coding guidelines: comply with MISRA Rule 12.1. added parentheses verifying lack of ambiguities Signed-off-by: Hess Nathan <nhess@baumer.com>