summaryrefslogtreecommitdiff
path: root/proc.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-11-14 03:38:42 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-11-14 03:38:42 +0000
commit2eefb48f6f2b48480da2707f7cbebe54d1e95a42 (patch)
treeddc404d909d1a6f35e9bd7c2bf303322293103b2 /proc.c
parent4314ded83616c601de604f9b931251695d0bf087 (diff)
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
Diffstat (limited to 'proc.c')
-rw-r--r--proc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/proc.c b/proc.c
index c2e0dde9f1..475259cca9 100644
--- a/proc.c
+++ b/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();