Details
-
Bug
-
Status: Closed
-
Normal
-
Resolution: Fixed
-
None
-
None
-
None
-
1
-
Client 2016-04-20, Client 2016-05-04
Description
Ruby 2.2 appears to have changed the signature of rb_num2long to actually return a long. That results in unit tests failing with Ruby 2.2 on Windows, because there a long is a 32-bit type but we assume rb_num2long returns a 64-bit type. Instead of getting -1, you get INT_MAX+1 (or something close to that).