Skip to content

Commit

Permalink
Merge pull request #2025 from jphickey:fix-2024-ut-osal-id-conversion
Browse files Browse the repository at this point in the history
Fix #2024, osal_id_t type conversion in es_UT.c
  • Loading branch information
astrogeco committed Jan 19, 2022
2 parents 39f386c + 3eaf3ea commit 1e270eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/es/ut-coverage/es_UT.c
Original file line number Diff line number Diff line change
Expand Up @@ -4519,7 +4519,7 @@ void TestAPI(void)

/* Hit error case for NULL TaskRecPtr */
ES_ResetUnitTest();
UT_SetDeferredRetcode(UT_KEY(OS_TaskGetId), 1, OS_OBJECT_ID_UNDEFINED);
UT_SetDeferredRetcode(UT_KEY(OS_TaskGetId), 1, OS_ObjectIdToInteger(OS_OBJECT_ID_UNDEFINED));
UtAssert_INT32_EQ(CFE_ES_GetTaskID(&TaskId), CFE_ES_ERR_RESOURCEID_NOT_VALID);
}

Expand Down

0 comments on commit 1e270eb

Please sign in to comment.