summaryrefslogtreecommitdiff
path: root/marshal.c
diff options
context:
space:
mode:
Diffstat (limited to 'marshal.c')
-rw-r--r--marshal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/marshal.c b/marshal.c
index 79fd94880e..c948a1d54d 100644
--- a/marshal.c
+++ b/marshal.c
@@ -1554,7 +1554,7 @@ r_object0(struct load_arg *arg, int *ivp, VALUE extmod)
if (TYPE(v) != TYPE(tmp)) goto format_error;
}
- RBASIC(v)->klass = c;
+ RBASIC_SET_CLASS(v, c);
}
break;