summaryrefslogtreecommitdiffstats
path: root/ext/dl/lib
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-03-03 07:52:42 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-03-03 07:52:42 +0000
commitfd1655d5a909339923840f76e26d803d3af330cf (patch)
tree10d8d604f19740dfca4adbc83dca2164cc728296 /ext/dl/lib
parent9bd337c8fd9f6a345e74b84515ecb40301e9f32f (diff)
* ext/dl/win32/lib/win32/resolv.rb: get rid of warning.
* ext/dl/lib/dl/func.rb: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22727 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/dl/lib')
-rw-r--r--ext/dl/lib/dl/func.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/dl/lib/dl/func.rb b/ext/dl/lib/dl/func.rb
index 97f24a68d..1ec34b7cf 100644
--- a/ext/dl/lib/dl/func.rb
+++ b/ext/dl/lib/dl/func.rb
@@ -15,6 +15,8 @@ module DL
if( @cfunc.ctype < 0 )
@cfunc.ctype = @cfunc.ctype.abs
@unsigned = true
+ else
+ @unsigned = false
end
if( proc )
bind(&proc)