mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[ruby/bigdecimal] Fix type name
https://github.com/ruby/bigdecimal/commit/2dad4d17b2
This commit is contained in:
parent
8b53cbaf5e
commit
2e9b6096a6
1 changed files with 1 additions and 1 deletions
|
@ -205,7 +205,7 @@ static VALUE rb_rational_convert_to_BigDecimal(VALUE val, size_t digs, int raise
|
||||||
static Real*
|
static Real*
|
||||||
GetVpValueWithPrec(VALUE v, long prec, int must)
|
GetVpValueWithPrec(VALUE v, long prec, int must)
|
||||||
{
|
{
|
||||||
const size_t digs = prec < 0 ? SIZE_MAX : (long)prec;
|
const size_t digs = prec < 0 ? SIZE_MAX : (size_t)prec;
|
||||||
Real *pv;
|
Real *pv;
|
||||||
|
|
||||||
switch(TYPE(v)) {
|
switch(TYPE(v)) {
|
||||||
|
|
Loading…
Reference in a new issue