cpukit/stackchk: Explicitly cast from void* to uintptr_t

This commit is contained in:
Kinsey Moore
2024-09-04 13:01:39 -05:00
committed by Amar Takhar
parent 243f88992f
commit bcf0cee545

View File

@@ -470,7 +470,7 @@ static bool Stack_check_Visit_thread(
{
Stack_check_Visitor *visitor;
char name[ 22 ];
uintptr_t sp = _CPU_Context_Get_SP( &the_thread->Registers );
uintptr_t sp = (uintptr_t) _CPU_Context_Get_SP( &the_thread->Registers );
visitor = arg;
_Thread_Get_name( the_thread, name, sizeof( name ) );