summaryrefslogtreecommitdiff
path: root/iseq.c
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-10-10 22:43:51 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-10-10 22:43:51 +0000
commitb5ff6f11b52ef381e4fcbe90618e75a1a5321395 (patch)
tree5e243d11d2dc031d8cb9d8c2c08b61be73ba686e /iseq.c
parentfb9034e757da5ecdb79bb552233696779b54b9b7 (diff)
* iseq.c (insn_operand_intern): cast op to rb_call_info_t* before
compare with iseq->callinfo_entries whose type is rb_call_info_t*. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37136 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'iseq.c')
-rw-r--r--iseq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/iseq.c b/iseq.c
index 42cce0bb0b..fa83d1b670 100644
--- a/iseq.c
+++ b/iseq.c
@@ -1041,7 +1041,7 @@ insn_operand_intern(rb_iseq_t *iseq,
break;
case TS_CALLINFO:
- ret = rb_sprintf("<ci:%"PRIdPTRDIFF">", (struct iseq_inline_cache_entry *)op - iseq->callinfo_entries);
+ ret = rb_sprintf("<ci:%"PRIdPTRDIFF">", (rb_call_info_t *)op - iseq->callinfo_entries);
break;
case TS_CDHASH: