Fix the sizes comparison
`proc_syswait` will be called with a `VALUE` argument.
This commit is contained in:
parent
466a760e18
commit
f245b425af
@ -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 */
|
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
|
#define proc_syswait (VALUE (*)(VALUE))rb_syswait
|
||||||
#else
|
#else
|
||||||
static VALUE
|
static VALUE
|
||||||
|
Loading…
x
Reference in New Issue
Block a user