ruby-changes:36339
From: nobu <ko1@a...>
Date: Fri, 14 Nov 2014 12:39:01 +0900 (JST)
Subject: [ruby-changes:36339] nobu:r48420 (trunk): proc.c: adjust argument type
nobu 2014-11-14 12:38:42 +0900 (Fri, 14 Nov 2014) New Revision: 48420 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=48420 Log: 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. Modified files: trunk/proc.c Index: proc.c =================================================================== --- proc.c (revision 48419) +++ proc.c (revision 48420) @@ -559,7 +559,7 @@ bind_receiver(VALUE bindval) https://github.com/ruby/ruby/blob/trunk/proc.c#L559 } 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(); -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/