From 03021a6de622158328ba484caba08f3d100a3eef Mon Sep 17 00:00:00 2001 From: usa Date: Tue, 16 Dec 2014 16:08:16 +0000 Subject: * 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 --- ext/win32/lib/Win32API.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/win32') diff --git a/ext/win32/lib/Win32API.rb b/ext/win32/lib/Win32API.rb index 8589768e64..7cabd9f84a 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 -- cgit v1.2.3