diff options
| author | guozhanxin <[email protected]> | 2023-02-13 10:22:02 +0800 |
|---|---|---|
| committer | guo <[email protected]> | 2023-02-13 10:56:17 +0800 |
| commit | 03bcd0701cbd1c8e4aeab5f5f2e5548e24167fee (patch) | |
| tree | 1b6c59a2d211d3c544ea39c09b08f8ab2e9ce1e4 /components/libc/compilers | |
| parent | b32eae36d3aca5eb72aafbb7ab2341dae85e55cf (diff) | |
[ci] fix build error.
Diffstat (limited to 'components/libc/compilers')
| -rw-r--r-- | components/libc/compilers/common/ctime.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |
