mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-30 00:00:16 +01:00
solaris: pthread is not a ptr
This commit is contained in:
parent
c00ece34a1
commit
b6aa4c2d5d
1 changed files with 1 additions and 1 deletions
|
@ -181,7 +181,7 @@ lws_create(void *d)
|
||||||
{
|
{
|
||||||
struct lws_context_creation_info info;
|
struct lws_context_creation_info info;
|
||||||
|
|
||||||
lwsl_user("%s: tid %p\n", __func__, (void *)pthread_self());
|
lwsl_user("%s: tid %p\n", __func__, (void *)(intptr_t)pthread_self());
|
||||||
|
|
||||||
memset(&info, 0, sizeof info); /* otherwise uninitialized garbage */
|
memset(&info, 0, sizeof info); /* otherwise uninitialized garbage */
|
||||||
info.port = CONTEXT_PORT_NO_LISTEN;
|
info.port = CONTEXT_PORT_NO_LISTEN;
|
||||||
|
|
Loading…
Add table
Reference in a new issue