mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-11 22:31:12 +02:00
Bit more of:
* threads.c (thread_print): Cope with the case where pthread_t is a struct, as found on mingw. Can't just cast to size_t for printing. Reported by Nils Durner. Should be scm_i_pthread_t of course, to cope with null-threads.h.
This commit is contained in:
parent
e31968dd7a
commit
1169fab3c4
1 changed files with 1 additions and 1 deletions
|
@ -146,7 +146,7 @@ thread_print (SCM exp, SCM port, scm_print_state *pstate SCM_UNUSED)
|
|||
the struct case, hence we go via a union, and extract according to the
|
||||
size of pthread_t. */
|
||||
union {
|
||||
pthread_t p;
|
||||
scm_i_pthread_t p;
|
||||
unsigned short us;
|
||||
unsigned int ui;
|
||||
unsigned long ul;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue