We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed9a1f1 commit 6fa5609Copy full SHA for 6fa5609
TESTS/mbed_platform/error_handling/main.cpp
@@ -124,7 +124,7 @@ void test_error_context_capture()
124
mbed_error_status_t status = mbed_get_last_error_info( &error_ctx );
125
TEST_ASSERT(status == MBED_SUCCESS);
126
TEST_ASSERT_EQUAL_UINT(error_value, error_ctx.error_value);
127
- TEST_ASSERT_EQUAL_UINT(osThreadGetId(), error_ctx.thread_id);
+ TEST_ASSERT_EQUAL_UINT((uint32_t)osThreadGetId(), error_ctx.thread_id);
128
129
//Capture thread info and compare
130
osRtxThread_t *current_thread = osRtxInfo.thread.run.curr;
0 commit comments