diff options
Diffstat (limited to 'ext/dl/method.c')
-rw-r--r-- | ext/dl/method.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/dl/method.c b/ext/dl/method.c index 8462292d98..1bd0fa8c3e 100644 --- a/ext/dl/method.c +++ b/ext/dl/method.c @@ -91,7 +91,7 @@ rb_dlfunction_initialize(int argc, VALUE argv[], VALUE self) result = ffi_prep_cif ( cif, NUM2INT(abi), - RARRAY_LEN(args), + RARRAY_LENINT(args), DL2FFI_TYPE(NUM2INT(ret_type)), arg_types); |