summaryrefslogtreecommitdiff
path: root/transient_heap.c
diff options
context:
space:
mode:
Diffstat (limited to 'transient_heap.c')
-rw-r--r--transient_heap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/transient_heap.c b/transient_heap.c
index aca8875982..55a796325f 100644
--- a/transient_heap.c
+++ b/transient_heap.c
@@ -583,8 +583,8 @@ transient_heap_ptr(VALUE obj, int error)
break;
case T_HASH:
if (RHASH_TRANSIENT_P(obj)) {
- TH_ASSERT(RHASH_ARRAY_P(obj));
- ptr = (VALUE *)(RHASH(obj)->as.li);
+ TH_ASSERT(RHASH_AR_TABLE_P(obj));
+ ptr = (VALUE *)(RHASH(obj)->as.ar);
}
else {
ptr = NULL;