mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
thread.c: fix thread ID format
* thread.c (DEBUG_OUT): fix format specifier for a thread ID, which is DWORD not pointer. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46404 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
16b512b33b
commit
a678de48c5
1 changed files with 1 additions and 1 deletions
2
thread.c
2
thread.c
|
@ -223,7 +223,7 @@ static void timer_thread_function(void *);
|
|||
|
||||
#define DEBUG_OUT() \
|
||||
WaitForSingleObject(&debug_mutex, INFINITE); \
|
||||
printf(POSITION_FORMAT"%p - %s" POSITION_ARGS, GetCurrentThreadId(), buf); \
|
||||
printf(POSITION_FORMAT"%#lx - %s" POSITION_ARGS, GetCurrentThreadId(), buf); \
|
||||
fflush(stdout); \
|
||||
ReleaseMutex(&debug_mutex);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue