diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-11-04 07:25:41 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-11-04 07:25:41 +0000 |
commit | 2f00182634eaa0389b46322301795de475f46cec (patch) | |
tree | ce566d3ec024704d436bfd49f1fe029a7de44a44 /vm.c | |
parent | f6616071dc4089b772d3dcb6c1031653fb4d2054 (diff) |
suppress warnings
* vm.c (rb_vm_make_proc): cast to suppress warning by VC6.
* ext/-test-/win32/console/attribute.c (console_set_attribute):
ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48266 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm.c')
-rw-r--r-- | vm.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -677,7 +677,7 @@ rb_vm_make_proc(rb_thread_t *th, const rb_block_t *block, VALUE klass) } procval = rb_proc_alloc(klass, block, envval, blockprocval, - th->safe_level, 0, 0); + (int8_t)th->safe_level, 0, 0); if (VMDEBUG) { if (th->stack < block->ep && block->ep < th->stack + th->stack_size) { |