RTEMS | testsuites/validation/tc-score-thread.c: Fix warning on assignment (!434)

Sebastian Huber (@sebhub) gitlab at rtems.org
Wed Feb 26 00:38:31 UTC 2025




Sebastian Huber started a new discussion on testsuites/validation/tc-score-thread.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/434#note_120244

 >    worker_id = ctx->worker_id;
 >    state = ctx->thread_switch_state;
 >    ctx->thread_switch_state = state + 1;
 > -  heir_stack = _CPU_Context_Get_SP( &heir->Registers );
 > +  heir_stack = (uintptr_t) _CPU_Context_Get_SP( &heir->Registers );

I would rather document that \_CPU_Context_Get_SP() should return an uintptr_t value.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/434#note_120244
You're receiving this email because of your account on gitlab.rtems.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20250226/149814de/attachment.htm>


More information about the bugs mailing list