We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a4f1905 commit fe2e9e9Copy full SHA for fe2e9e9
components/libc/pthreads/pthread.c
100755
100644
@@ -277,7 +277,7 @@ int pthread_create(pthread_t *pid,
277
278
/* set pthread cleanup function and ptd data */
279
ptd->tid->cleanup = _pthread_cleanup;
280
- ptd->tid->user_data = (rt_uint32_t)ptd;
+ ptd->tid->user_data = (rt_ubase_t)ptd;
281
282
/* start thread */
283
if (rt_thread_startup(ptd->tid) == RT_EOK)
include/rtdef.h
@@ -623,7 +623,7 @@ struct rt_thread
623
void *lwp;
624
#endif
625
626
- rt_uint32_t user_data; /**< private user data beyond this thread */
+ rt_ubase_t user_data; /**< private user data beyond this thread */
627
};
628
typedef struct rt_thread *rt_thread_t;
629
0 commit comments