]> Savannah Git Hosting - gnulib.git/commit
thread: Avoid compiler warnings on Solaris.
authorBruno Haible <bruno@clisp.org>
Sun, 25 Jun 2023 18:18:41 +0000 (20:18 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 25 Jun 2023 18:18:41 +0000 (20:18 +0200)
commitf4015ac6ea3e8170b16b905dcc6a508a915434f2
tree60af8e6a1c69f2c8b740fa3fdd749858bac18161
parent4c5d2bd3fbd0b89e62d2243a75a75b43581f4faf
thread: Avoid compiler warnings on Solaris.

* lib/glthread/thread.h: Include <stdint.h>.
(gl_thread_self_pointer): Do the cast from pthread_t to 'void *' via
intptr_t.
* modules/thread (Depends-on): Add stdint.
ChangeLog
lib/glthread/thread.h
modules/thread