mirror of
https://github.com/ruby/ruby.git
synced 2025-09-15 16:44:01 +02:00
* thread.c (rb_thread_aset): fixed argument type.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@27678 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
db1d9196ef
commit
349b047270
3 changed files with 7 additions and 3 deletions
2
thread.c
2
thread.c
|
@ -2052,7 +2052,7 @@ rb_thread_local_aset(VALUE thread, ID id, VALUE val)
|
|||
*/
|
||||
|
||||
static VALUE
|
||||
rb_thread_aset(VALUE self, ID id, VALUE val)
|
||||
rb_thread_aset(VALUE self, VALUE id, VALUE val)
|
||||
{
|
||||
return rb_thread_local_aset(self, rb_to_id(id), val);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue