Skip to content

Commit bef5020

Browse files
committed
Properly display object_id in rb_bug
1 parent 6674e31 commit bef5020

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

gc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1920,7 +1920,7 @@ obj_free_object_id(VALUE obj)
19201920
GC_ASSERT(id);
19211921

19221922
if (!st_delete(id_to_obj_tbl, &id, NULL)) {
1923-
rb_bug("Object ID seen, but not in id_to_obj table: object_id=%"PRIsVALUE" object=%s", (VALUE)id, rb_obj_info(obj));
1923+
rb_bug("Object ID seen, but not in id_to_obj table: object_id=%llu object=%s", NUM2ULL((VALUE)id), rb_obj_info(obj));
19241924
}
19251925
}
19261926
}

0 commit comments

Comments
 (0)