mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
proc.c: adjust argument type
* proc.c (proc_new): adjust `is_lambda` argument type to `rb_vm_make_proc_lambda` to suppress a warning by VC6. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48420 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
4314ded836
commit
2eefb48f6f
1 changed files with 1 additions and 1 deletions
2
proc.c
2
proc.c
|
@ -559,7 +559,7 @@ bind_receiver(VALUE bindval)
|
|||
}
|
||||
|
||||
static VALUE
|
||||
proc_new(VALUE klass, int is_lambda)
|
||||
proc_new(VALUE klass, int8_t is_lambda)
|
||||
{
|
||||
VALUE procval = Qnil;
|
||||
rb_thread_t *th = GET_THREAD();
|
||||
|
|
Loading…
Add table
Reference in a new issue