mirror of
https://github.com/apache/nuttx-apps.git
synced 2025-10-19 19:44:35 +08:00
Eliminate a warning
This commit is contained in:
@@ -139,7 +139,7 @@ void netlib_server(uint16_t portno, pthread_startroutine_t handler, int stacksiz
|
||||
(void)pthread_attr_init(&attr);
|
||||
(void)pthread_attr_setstacksize(&attr, stacksize);
|
||||
|
||||
ret = pthread_create(&child, &attr, handler, (void*)acceptsd);
|
||||
ret = pthread_create(&child, &attr, handler, (pthread_addr_t)((uintptr_t)acceptsd));
|
||||
if (ret != 0)
|
||||
{
|
||||
/* Close the connection */
|
||||
|
Reference in New Issue
Block a user