diff options
author | Jesus Cea <jcea@jcea.es> | 2011-09-19 17:11:26 +0200 |
---|---|---|
committer | Jesus Cea <jcea@jcea.es> | 2011-09-19 17:11:26 +0200 |
commit | 5709b0a9933ce87f78389617abfd934fd113ba5f (patch) | |
tree | ad751c5cbc2f43440c1faf775e102decfa0f9dcb /Python/thread_pth.h | |
parent | 66c4188b352a7c021c7b83f70d1a1e54bbed45df (diff) | |
parent | 016d82354232e8a1924135ff10fac70cf5c720b9 (diff) | |
download | cpython-5709b0a9933ce87f78389617abfd934fd113ba5f.tar.gz |
Close #13007: whichdb should recognize gdbm 1.9 magic numbers
Diffstat (limited to 'Python/thread_pth.h')
-rw-r--r-- | Python/thread_pth.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Python/thread_pth.h b/Python/thread_pth.h index 82a00e72ba..5704266a03 100644 --- a/Python/thread_pth.h +++ b/Python/thread_pth.h @@ -69,9 +69,8 @@ long PyThread_get_thread_ident(void) volatile pth_t threadid; if (!initialized) PyThread_init_thread(); - /* Jump through some hoops for Alpha OSF/1 */ threadid = pth_self(); - return (long) *(long *) &threadid; + return (long) threadid; } void PyThread_exit_thread(void) |