1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Removed unneeded cast and use the real name

This commit is contained in:
Nobuyoshi Nakada 2020-12-15 23:43:08 +09:00
parent 8f6cb5b70b
commit 289d42c932
No known key found for this signature in database
GPG key ID: 7CD2805BFA3770C6

2
gc.c
View file

@ -2734,7 +2734,7 @@ static inline void
make_io_zombie(rb_objspace_t *objspace, VALUE obj)
{
rb_io_t *fptr = RANY(obj)->as.file.fptr;
make_zombie(objspace, obj, (void (*)(void*))rb_io_fptr_finalize, fptr);
make_zombie(objspace, obj, rb_io_fptr_finalize_internal, fptr);
}
static void