summaryrefslogtreecommitdiff
path: root/compile.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-09-14 01:56:53 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-09-14 01:56:53 +0000
commite5a3c25a69ea81f7234cac8ad40dc3576cee1c13 (patch)
tree30d9f6d565fe09155b0401d837efad676f9df5c2 /compile.c
parente7f6d9e25ab69cc986d10ad8d9ce91610f14b378 (diff)
compile.c, gc.c: suppress warnings
* compile.c (iseq_compile_each): suppress implicit conversion warning by old apple gcc 4.2. * gc.c (RVALUE_FLAGS_AGE, heap_page_allocate): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47580 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'compile.c')
-rw-r--r--compile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/compile.c b/compile.c
index e121592..ac4e5ba 100644
--- a/compile.c
+++ b/compile.c
@@ -4017,7 +4017,7 @@ iseq_compile_each(rb_iseq_t *iseq, LINK_ANCHOR *ret, NODE * node, int poped)
DECL_ANCHOR(args);
VALUE argc;
unsigned int flag = 0;
- VALUE asgnflag = 0;
+ unsigned int asgnflag = 0;
ID id = node->nd_mid;
int boff = 0;