From f245b425af2e560a85edac85ad4426a04b01e4de Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Sat, 6 Aug 2022 23:53:13 +0900 Subject: Fix the sizes comparison `proc_syswait` will be called with a `VALUE` argument. --- process.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/process.c b/process.c index fb31418e00..0ba555562c 100644 --- a/process.c +++ b/process.c @@ -3773,7 +3773,7 @@ rb_exec_atfork(void* arg, char *errmsg, size_t errmsg_buflen) return rb_exec_async_signal_safe(arg, errmsg, errmsg_buflen); /* hopefully async-signal-safe */ } -#if SIZEOF_INT == SIZEOF_LONG +#if SIZEOF_INT == SIZEOF_VALUE #define proc_syswait (VALUE (*)(VALUE))rb_syswait #else static VALUE -- cgit v1.2.3