Skip to content

Commit 2dad4d1

Browse files
committed
Fix type name
1 parent f047b27 commit 2dad4d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/bigdecimal/bigdecimal.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ static VALUE rb_rational_convert_to_BigDecimal(VALUE val, size_t digs, int raise
205205
static Real*
206206
GetVpValueWithPrec(VALUE v, long prec, int must)
207207
{
208-
const size_t digs = prec < 0 ? SIZE_MAX : (long)prec;
208+
const size_t digs = prec < 0 ? SIZE_MAX : (size_t)prec;
209209
Real *pv;
210210

211211
switch(TYPE(v)) {

0 commit comments

Comments
 (0)