From cea3919ae61ae16e04a5ee5c5394970c3960a0af Mon Sep 17 00:00:00 2001 From: nobu Date: Tue, 12 Oct 2010 15:03:51 +0000 Subject: * configure.in (RUBY_CHECK_PRINTF_PREFIX): check for printf format specifier if possible. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29468 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- thread.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'thread.c') diff --git a/thread.c b/thread.c index 294df1a258..c28ea9c4a6 100644 --- a/thread.c +++ b/thread.c @@ -1274,7 +1274,7 @@ rb_threadptr_execute_interrupts_rec(rb_thread_t *th, int sched_depth) if (th->thrown_errinfo) { VALUE err = th->thrown_errinfo; th->thrown_errinfo = 0; - thread_debug("rb_thread_execute_interrupts: %ld\n", err); + thread_debug("rb_thread_execute_interrupts: %"PRIdVALUE"\n", err); if (err == eKillSignal || err == eTerminateSignal) { th->errinfo = INT2FIX(TAG_FATAL); -- cgit v1.2.3