From 2eefb48f6f2b48480da2707f7cbebe54d1e95a42 Mon Sep 17 00:00:00 2001 From: nobu Date: Fri, 14 Nov 2014 03:38:42 +0000 Subject: [PATCH] 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 --- proc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();