diff options
Diffstat (limited to 'win32/win32.c')
-rw-r--r-- | win32/win32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/win32.c b/win32/win32.c index a1f795d97e..15a9a2a673 100644 --- a/win32/win32.c +++ b/win32/win32.c @@ -2825,7 +2825,7 @@ struct handler_arg_t { static void win32_call_handler(struct handler_arg_t* h) { int status; - RUBY_CRITICAL(rb_protect((VALUE (*)())h->handler, (VALUE)h->arg, &h->status); + RUBY_CRITICAL(rb_protect((VALUE (*)(VALUE))h->handler, (VALUE)h->arg, &h->status); status = h->status; SetEvent(h->handshake)); if (status) { |