summaryrefslogtreecommitdiff
path: root/marshal.c
diff options
context:
space:
mode:
Diffstat (limited to 'marshal.c')
-rw-r--r--marshal.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/marshal.c b/marshal.c
index 24eacc4b13..9bed4296fc 100644
--- a/marshal.c
+++ b/marshal.c
@@ -922,9 +922,7 @@ r_object(arg)
#endif
}
v = rb_big_norm((VALUE)big);
- if (TYPE(v) == T_BIGNUM) {
- r_regist(v, arg);
- }
+ r_regist(v, arg);
}
break;