summaryrefslogtreecommitdiffstats
path: root/thread.c
diff options
context:
space:
mode:
authormame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-07-03 12:21:11 +0000
committermame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-07-03 12:21:11 +0000
commit935207ef6f38ce3fb95cf60a2a482603323f94a1 (patch)
treebe5059554018eb45d5b07bc4bb136f0a5af70149 /thread.c
parent78f43abdd81129fbdee012f7d7460cd37b455128 (diff)
downloadruby-935207ef6f38ce3fb95cf60a2a482603323f94a1.tar.gz
ruby-935207ef6f38ce3fb95cf60a2a482603323f94a1.tar.xz
ruby-935207ef6f38ce3fb95cf60a2a482603323f94a1.zip
* thread.c (thread_initialize): NUM2INT returns long.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17856 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'thread.c')
-rw-r--r--thread.c2
1 files changed, 1 insertions, 1 deletions
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);