diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2022-08-06 23:53:13 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2022-08-06 23:56:44 +0900 |
commit | f245b425af2e560a85edac85ad4426a04b01e4de (patch) | |
tree | 6e4c10d416d2569683b9f81aa2d759e691bc35c3 /process.c | |
parent | 466a760e1807e629d0ec9f9ebf160d3c3f649d04 (diff) |
Fix the sizes comparison
`proc_syswait` will be called with a `VALUE` argument.
Diffstat (limited to 'process.c')
-rw-r--r-- | process.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |