summaryrefslogtreecommitdiff
path: root/ext/-test-/bignum/import.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/-test-/bignum/import.c')
-rw-r--r--ext/-test-/bignum/import.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/-test-/bignum/import.c b/ext/-test-/bignum/import.c
index 22cc86dcde0..c50d855c445 100644
--- a/ext/-test-/bignum/import.c
+++ b/ext/-test-/bignum/import.c
@@ -7,8 +7,8 @@ rb_int_import_m(VALUE klass, VALUE sign, VALUE buf, VALUE wordcount, VALUE wordo
StringValue(buf);
return rb_int_import(NUM2INT(sign), RSTRING_PTR(buf),
- NUM2SIZE(wordcount), NUM2INT(wordorder), NUM2SIZE(wordsize),
- NUM2INT(endian), NUM2SIZE(nails));
+ NUM2SIZET(wordcount), NUM2INT(wordorder), NUM2SIZET(wordsize),
+ NUM2INT(endian), NUM2SIZET(nails));
}
void