RTEMS | testsuites/validation/tc-score-thread.c: Fix warning on assignment (!434)
Joel Sherrill (@joel)
gitlab at rtems.org
Mon Mar 3 19:58:32 UTC 2025
Joel Sherrill commented on a discussion on testsuites/validation/tc-score-thread.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/434#note_120492
> 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 );
OK. I changed _CPU_Context_Get_SP() to return uintptr_t and the users to drop the cast. Is it OK to resolve now?
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/434#note_120492
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/20250303/177afc54/attachment.htm>
More information about the bugs
mailing list