mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-09-21 02:06:14 +08:00
[fixup] aarch64 UMP compiler error (#8677)
Signed-off-by: Shell <smokewood@qq.com>
This commit is contained in:
@@ -879,7 +879,8 @@ static void rtthread_timer_wrapper(void *timerobj)
|
||||
}
|
||||
#ifdef RT_USING_SMART
|
||||
/* this field is named as tid in musl */
|
||||
int tid = *(int *)&timer->sigev_notify_function;
|
||||
void *ptid = &timer->sigev_notify_function;
|
||||
int tid = *(int *)ptid;
|
||||
struct lwp_timer_event_param *data = rt_container_of(timer->work, struct lwp_timer_event_param, work);
|
||||
data->signo = timer->sigev_signo;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user