Skip to content

Commit 70146fb

Browse files
nobumrkn
authored andcommitted
Adjust a local variable type to exponent
1 parent 260ad01 commit 70146fb

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
@@ -3281,7 +3281,7 @@ rb_float_convert_to_BigDecimal(VALUE val, size_t digs, int raise_exception)
32813281

32823282
VALUE inum;
32833283
size_t RB_UNUSED_VAR(prec) = 0;
3284-
size_t exp = 0;
3284+
SIGNED_VALUE exp = 0;
32853285
if (decpt > 0) {
32863286
if (decpt < len10) {
32873287
/*

0 commit comments

Comments
 (0)