From dc647aea2ea83622e22b94b11df60b18d6e3c31b Mon Sep 17 00:00:00 2001
From: nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>
Date: Wed, 13 Oct 2010 13:51:20 +0000
Subject: * insns.def (opt_case_dispatch): use st_data_t.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29485 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
---
 insns.def | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'insns.def')

diff --git a/insns.def b/insns.def
index 62d0df40a1..89301e87b2 100644
--- a/insns.def
+++ b/insns.def
@@ -1272,9 +1272,9 @@ opt_case_dispatch
       case T_BIGNUM:
       case T_STRING:
 	if (BASIC_OP_UNREDEFINED_P(BOP_EQQ)) {
-	    VALUE val;
+	    st_data_t val;
 	    if (st_lookup(RHASH_TBL(hash), key, &val)) {
-		JUMP(FIX2INT(val));
+		JUMP(FIX2INT((VALUE)val));
 	    }
 	    else {
 		JUMP(else_offset);
-- 
cgit v1.2.3

