diff options
Diffstat (limited to 'ext/dl/test/test_func.rb')
-rw-r--r-- | ext/dl/test/test_func.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/dl/test/test_func.rb b/ext/dl/test/test_func.rb index 887d38df9..be937719d 100644 --- a/ext/dl/test/test_func.rb +++ b/ext/dl/test/test_func.rb @@ -24,7 +24,7 @@ module DL end def test_atof() - f = Function.new(CFunc.new(@libc['atof'], TYPE_FLOAT, 'atof'), + f = Function.new(CFunc.new(@libc['atof'], TYPE_DOUBLE, 'atof'), [TYPE_VOIDP]) r = f.call("12.34") assert_match(12.00..13.00, r) |