aboutsummaryrefslogtreecommitdiffstats
path: root/gc.c
diff options
context:
space:
mode:
Diffstat (limited to 'gc.c')
-rw-r--r--gc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gc.c b/gc.c
index c5c64fef42..977c0b6e7d 100644
--- a/gc.c
+++ b/gc.c
@@ -8966,7 +8966,7 @@ rb_raw_obj_info(char *buff, const int buff_size, VALUE obj)
}
else {
const int age = RVALUE_FLAGS_AGE(RBASIC(obj)->flags);
- const int type = TYPE(obj);
+ const int type = BUILTIN_TYPE(obj);
#define TF(c) ((c) != 0 ? "true" : "false")
#define C(c, s) ((c) != 0 ? (s) : " ")