mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-05 15:15:44 +00:00
cpukit/stackchk: Explicitly cast from void* to uintptr_t
This commit is contained in:
committed by
Amar Takhar
parent
243f88992f
commit
bcf0cee545
@@ -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 ) );
|
||||
|
||||
Reference in New Issue
Block a user