aboutsummaryrefslogtreecommitdiffstats
path: root/ext/dl/cptr.c
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-02-25 22:49:20 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-02-25 22:49:20 +0000
commit59e4e93ef7b6b7f1536e3c56374cc6b8d74b5d28 (patch)
tree8ef0ee021c12e0ff884aaa2cc963845ab61fa41e /ext/dl/cptr.c
parent9d818a221ec86fb15bfe696995829807be49a1da (diff)
downloadruby-59e4e93ef7b6b7f1536e3c56374cc6b8d74b5d28.tar.gz
* ext/dl: revert dl with libffi because it can't run on mswin now.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26764 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/dl/cptr.c')
-rw-r--r--ext/dl/cptr.c4
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)) {