Fix the sizes comparison

`proc_syswait` will be called with a `VALUE` argument.
This commit is contained in:
Nobuyoshi Nakada 2022-08-06 23:53:13 +09:00
parent 466a760e18
commit f245b425af
No known key found for this signature in database
GPG Key ID: 7CD2805BFA3770C6

View File

@ -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