From 03bcd0701cbd1c8e4aeab5f5f2e5548e24167fee Mon Sep 17 00:00:00 2001 From: guozhanxin Date: Mon, 13 Feb 2023 10:22:02 +0800 Subject: [ci] fix build error. --- components/libc/compilers/common/ctime.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'components/libc/compilers/common') diff --git a/components/libc/compilers/common/ctime.c b/components/libc/compilers/common/ctime.c index 9147af3dfb..8a6767e194 100644 --- a/components/libc/compilers/common/ctime.c +++ b/components/libc/compilers/common/ctime.c @@ -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; -- cgit v1.3.1