lib/securerandom.rb: fix errors on Windows
lib/securerandom.rb (SecureRandom.random_bytes): Use 64bit value as pointer for Windows x64 to fix SystemCallError.
lib/securerandom.rb (SecureRandom.lastWin32ErrorMessage): Set proper encoding to avoid invalid byte sequence error. [ruby-core:47451] [Bug #6990]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36961 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
lib/securerandom.rb: fix errors on Windows
lib/securerandom.rb (SecureRandom.random_bytes):
Use 64bit value as pointer for Windows x64 to fix SystemCallError.
lib/securerandom.rb (SecureRandom.lastWin32ErrorMessage):
Set proper encoding to avoid invalid byte sequence error.
[ruby-core:47451] [Bug #6990]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36961 b2dd03c8-39d4-4d8f-98ff-823fe69b080e