diff options
| author | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-07-03 12:21:11 +0000 |
|---|---|---|
| committer | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-07-03 12:21:11 +0000 |
| commit | 935207ef6f38ce3fb95cf60a2a482603323f94a1 (patch) | |
| tree | be5059554018eb45d5b07bc4bb136f0a5af70149 /thread.c | |
| parent | 78f43abdd81129fbdee012f7d7460cd37b455128 (diff) | |
| download | ruby-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |
