ruby-changes:64187
From: Nobuyoshi <ko1@a...>
Date: Wed, 16 Dec 2020 00:05:01 +0900 (JST)
Subject: [ruby-changes:64187] 289d42c932 (master): Removed unneeded cast and use the real name
https://git.ruby-lang.org/ruby.git/commit/?id=289d42c932 From 289d42c932b744260359ee2c02d6723ecb8fc714 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Tue, 15 Dec 2020 23:43:08 +0900 Subject: Removed unneeded cast and use the real name diff --git a/gc.c b/gc.c index d5919d1..1bc1ce9 100644 --- a/gc.c +++ b/gc.c @@ -2734,7 +2734,7 @@ static inline void https://github.com/ruby/ruby/blob/trunk/gc.c#L2734 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 -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/