summaryrefslogtreecommitdiff
path: root/ext/win32/lib
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-12-16 16:08:16 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-12-16 16:08:16 +0000
commit03021a6de622158328ba484caba08f3d100a3eef (patch)
treeecf1b1ed58868ca56b323435035462f901e84553 /ext/win32/lib
parent4c1666875f431105a63daf37f28734f9d1960ec2 (diff)
* ext/win32/lib/Win32API.rb (Win32API#call): need to splat. hmm, when
was this broken? git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48867 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/win32/lib')
-rw-r--r--ext/win32/lib/Win32API.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/win32/lib/Win32API.rb b/ext/win32/lib/Win32API.rb
index 8589768..7cabd9f 100644
--- a/ext/win32/lib/Win32API.rb
+++ b/ext/win32/lib/Win32API.rb
@@ -29,7 +29,7 @@ class Win32API
args[i], = [x == 0 ? nil : x].pack("p").unpack(POINTER_TYPE) if import[i] == "S"
args[i], = [x].pack("I").unpack("i") if import[i] == "I"
end
- ret, = @func.call(args)
+ ret, = @func.call(*args)
return ret || 0
end