diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-11-14 03:38:42 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-11-14 03:38:42 +0000 |
commit | 2eefb48f6f2b48480da2707f7cbebe54d1e95a42 (patch) | |
tree | ddc404d909d1a6f35e9bd7c2bf303322293103b2 /proc.c | |
parent | 4314ded83616c601de604f9b931251695d0bf087 (diff) | |
download | ruby-2eefb48f6f2b48480da2707f7cbebe54d1e95a42.tar.gz |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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(); |