summaryrefslogtreecommitdiff
path: root/ext/gmp/gmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/gmp/gmp.c')
-rw-r--r--ext/gmp/gmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/gmp/gmp.c b/ext/gmp/gmp.c
index e9c1ad341..de61f1ca5 100644
--- a/ext/gmp/gmp.c
+++ b/ext/gmp/gmp.c
@@ -1776,7 +1776,7 @@ static void gmp_init_random(TSRMLS_D)
#if GMP_42_OR_NEWER
gmp_randinit_mt(GMPG(rand_state));
#else
- gmp_randinit_lc_2exp(GMPG(rand_state), 32L);
+ gmp_randinit_lc_2exp_size(GMPG(rand_state), 32L);
#endif
/* Seed */
gmp_randseed_ui(GMPG(rand_state), GENERATE_SEED());