1
0
Fork 0
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:
nobu 2014-11-14 03:38:42 +00:00
parent 4314ded836
commit 2eefb48f6f

2
proc.c
View file

@ -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();