1
0
Fork 0
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:
Andy Green 2021-03-08 10:55:35 +00:00
parent c00ece34a1
commit b6aa4c2d5d

View file

@ -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;