diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-12-05 05:26:25 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-12-05 05:26:25 +0000 |
commit | c348613504613b73a7fa5204158cd80bd88b982c (patch) | |
tree | 8fb60effdc4ea3b550da5a40e1bf90eae1e6f28e /vm_eval.c | |
parent | cda7250de0e7cd3f8842ee9b7c0ce8dc7cf920d1 (diff) | |
download | ruby-c348613504613b73a7fa5204158cd80bd88b982c.tar.gz |
vm_eval.c: suppress warning
* vm_eval.c (rb_catch_obj): add cast to suppress warning by VC.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43999 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_eval.c')
-rw-r--r-- | vm_eval.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1834,7 +1834,7 @@ VALUE rb_catch_obj(VALUE t, VALUE (*func)(), VALUE data) { int state; - VALUE val = rb_catch_protect(t, func, data, &state); + VALUE val = rb_catch_protect(t, (rb_block_call_func *)func, data, &state); if (state) JUMP_TAG(state); return val; |