From 935207ef6f38ce3fb95cf60a2a482603323f94a1 Mon Sep 17 00:00:00 2001 From: mame Date: Thu, 3 Jul 2008 12:21:11 +0000 Subject: * thread.c (thread_initialize): NUM2INT returns long. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17856 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 b021e2e33..432a91d33 100644 --- a/thread.c +++ b/thread.c @@ -490,7 +490,7 @@ thread_initialize(VALUE thread, VALUE args) rb_raise(rb_eThreadError, "already initialized thread - %s", file); } - rb_raise(rb_eThreadError, "already initialized thread - %s:%d", + rb_raise(rb_eThreadError, "already initialized thread - %s:%ld", file, NUM2INT(line)); } return thread_create_core(thread, args, 0); -- cgit