[ci] fix build error.

This commit is contained in:
guozhanxin
2023-02-13 10:22:02 +08:00
committed by guo
parent b32eae36d3
commit 03bcd0701c
2 changed files with 51 additions and 51 deletions

View File

@@ -1043,7 +1043,7 @@ int timer_create(clockid_t clockid, struct sigevent *evp, timer_t *timerid)
return -1; /* todo:memory leak */
}
_g_timerid[_timerid] = timer;
*timerid = (timer_t *)(rt_ubase_t)_timerid;
*timerid = (timer_t)(rt_ubase_t)_timerid;
timer_id_unlock();
return 0;