mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-19 12:38:19 +00:00
Eliminate a warning
This commit is contained in:
parent
652853c7d1
commit
449af751a8
1 changed files with 1 additions and 1 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue