Skip to content
Snippets Groups Projects
Commit af44bd83 authored by athatheo's avatar athatheo
Browse files

Fixed MISRA compliance 12.1

parent 587e5484
No related branches found
No related tags found
No related merge requests found
......@@ -19,7 +19,7 @@ void EventActionService::addEventActionDefinitions(Message& message) {
}
}
}
if (message.dataSize - 6 > ECSS_TC_REQUEST_STRING_SIZE) {
if ((message.dataSize - 6) > ECSS_TC_REQUEST_STRING_SIZE) {
canBeAdded = false;
ErrorHandler::reportInternalError(ErrorHandler::MessageTooLarge);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment