Skip to content

Commit 73f7741

Browse files
committed
Properly display object_id in rb_bug
1 parent 3617c89 commit 73f7741

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
@@ -1919,7 +1919,7 @@ obj_free_object_id(VALUE obj)
19191919
GC_ASSERT(id);
19201920

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

0 commit comments

Comments
 (0)