diff options
author | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-08-14 09:51:50 +0000 |
---|---|---|
committer | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-08-14 09:51:50 +0000 |
commit | e04c402dfa402e91681b503772bae69b5a302d8e (patch) | |
tree | 18e0cbb91c6739ce586c91a17a6c350ab2b82330 /missing/flock.c | |
parent | 4a58fdde16fbc110b983a20630885fa7a05f7457 (diff) | |
download | ruby-e04c402dfa402e91681b503772bae69b5a302d8e.tar.gz |
method.h: cast checks to int for >= 0 checks
Setting VM_CHECK_MODE to 1 in vm_core.h makes noisy warnings
otherwise. AFAIK, the signedness of enums is
implementation-dependent, and GCC considers them unsigned and
warns.
Tested on gcc 4.7.2 (Debian 4.7.2-5)
* method.h (METHOD_ENTRY_VISI_SET): cast visi to int
(METHOD_ENTRY_FLAGS_SET): ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51577 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'missing/flock.c')
0 files changed, 0 insertions, 0 deletions