diff options
Diffstat (limited to 'ext/dl/cptr.c')
-rw-r--r-- | ext/dl/cptr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/dl/cptr.c b/ext/dl/cptr.c index 75848f8358..11ecf6f81d 100644 --- a/ext/dl/cptr.c +++ b/ext/dl/cptr.c @@ -104,7 +104,7 @@ rb_dlptr2cptr(VALUE val) else{ rb_raise(rb_eTypeError, "DL::PtrData was expected"); } - + return ptr; } @@ -186,7 +186,7 @@ static VALUE rb_dlptr_s_malloc(int argc, VALUE argv[], VALUE klass) { VALUE size, sym, obj; - long s; + int s; freefunc_t f; switch (rb_scan_args(argc, argv, "11", &size, &sym)) { |