1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* thread.c (thread_initialize): NUM2INT returns long.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17856 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
mame 2008-07-03 12:21:11 +00:00
parent 55b95b0169
commit 16519f1ff9
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
Thu Jul 3 21:20:45 2008 Yusuke Endoh <mame@tsg.ne.jp>
* thread.c (thread_initialize): NUM2INT returns long.
Thu Jul 3 21:06:16 2008 Nobuyoshi Nakada <nobu@ruby-lang.org> Thu Jul 3 21:06:16 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
* eval.c (Init_eval): typo fixed in r17833. * eval.c (Init_eval): typo fixed in r17833.

View file

@ -490,7 +490,7 @@ thread_initialize(VALUE thread, VALUE args)
rb_raise(rb_eThreadError, "already initialized thread - %s", rb_raise(rb_eThreadError, "already initialized thread - %s",
file); file);
} }
rb_raise(rb_eThreadError, "already initialized thread - %s:%d", rb_raise(rb_eThreadError, "already initialized thread - %s:%ld",
file, NUM2INT(line)); file, NUM2INT(line));
} }
return thread_create_core(thread, args, 0); return thread_create_core(thread, args, 0);