vendor/rust/include/rust_conversions.hh in gecoder-0.7.1 vs vendor/rust/include/rust_conversions.hh in gecoder-0.8.0

- old
+ new

@@ -36,14 +36,14 @@ static inline int32_t ruby2int(VALUE rval, int argn = -1) { return NUM2INT(rval); } static inline VALUE cxx2ruby(int32_t val) { - return INT2FIX(val); + return INT2NUM(val); } static inline VALUE cxx2ruby(uint32_t val) { - return INT2FIX(val); + return INT2NUM(val); } static inline VALUE cxx2ruby(double val) { return rb_float_new(val); }